由买买提看人间百态

topics

全部话题 - 话题: ranlib
(共0页)
g********d
发帖数: 4174
1
Has anyone used the routines in RANLIB created by M.D.Anderson cancer center
? I found the package ranlib.f.tar.gz winzip package. But I can't find the
installation instruction. I would appreciate it someone can tell me where I
should save the library and how to call the routines in my FORTRAN program.
Thanks.
w****g
发帖数: 206
2
【 以下文字转载自 Programming 讨论区 】
发信人: wooing (woo), 信区: Programming
标 题: 求助:有用portland compiler 的么?
发信站: BBS 未名空间站 (Mon Nov 1 21:42:17 2010, 美东)
老板让我试着用portland的compiler build code,以前一直用intel的,这两个之间的
flag是怎么对应的啊?
CC=icc
CXX=icpc
LINK=icpc
AR="/usr/bin/ar cru"
RANLIB=/usr/bin/ranlib
DEPENDFLAG="-MM"
REL_FLAGS="-fPIC"
SO_LIBS=""
CPPFLAGS="-Wall"
OPT_CPPFLAGS="-O2 -DNDEBUG"
DBG_CPPFLAGS="-O0 -g -DDEBUG"
DO_64BITS=1
ARCH_DIR="$canonical_name_guess"
SYS_LIBS="-i-static"
;;
... 阅读全帖
w****g
发帖数: 206
3
做了以下修改,还是不工作,有牛人帮看看么?
CC=pgcc
CXX=pgCC
LINK=pgCC
AR="/usr/bin/ar cru"
RANLIB=/usr/bin/ranlib
# DEPENDFLAG="-MM"
DEPENDFLAG="-MM"
# REL_FLAGS="-fPIC"
REL_FLAGS=""
SO_LIBS=""
# CPPFLAGS="-Wall"
CPPFLAGS="Minform=warn"
# OPT_CPPFLAGS="-O3 -xW -DNDEBUG"
OPT_CPPFLAGS="-O3"
# DBG_CPPFLAGS="-O0 -g -DDEBUG"
DBG_CPPFLAGS="-O0"
DO_64BITS=1
ARCH_DIR="$canonical_name"
# SYS_LIBS="-i-static"
SYS_LIBS="-Bstatic"
;;
W*****x
发帖数: 684
4
$ cd geoip-api-c-master
$ libtoolize
$ aclocal
$ autoconf
$ automake --add-missing
$./configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
... 阅读全帖
w****g
发帖数: 206
5
来自主题: Programming版 - 求助:有用portland compiler 的么?
老板让我试着用portland的compiler build code,以前一直用intel的,这两个之间的
flag是怎么对应的啊?
CC=icc
CXX=icpc
LINK=icpc
AR="/usr/bin/ar cru"
RANLIB=/usr/bin/ranlib
DEPENDFLAG="-MM"
REL_FLAGS="-fPIC"
SO_LIBS=""
CPPFLAGS="-Wall"
OPT_CPPFLAGS="-O2 -DNDEBUG"
DBG_CPPFLAGS="-O0 -g -DDEBUG"
DO_64BITS=1
ARCH_DIR="$canonical_name_guess"
SYS_LIBS="-i-static"
;;
象以上这些,除了吧icc改成pgcc,icpc改成pgCC外,其他的怎么修改啊?
j***e
发帖数: 72
6
来自主题: Programming版 - 编译 64/32 位的library (Linux)
这是典型的一行编译命令。
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../inc -MT slvsml.o -MD -MP -MF ".
deps/slvsml.Tpo" -c -o slvsml.o slvsml.c; \
then mv -f ".deps/slvsml.Tpo" ".deps/slvsml.Po"; else rm -f ".deps/
slvsml.Tpo"; exit 1; fi
得到所有的.o文件后,ar 然后再 ranlib 的。
不知道这里有什么机关
j****i
发帖数: 305
7
来自主题: Programming版 - How to run a mpi job only on local host??
Thanks for the detailed explaination. It looks complicated, but it's
definitely worth checking out, e.g., Virtualbox. Sometimes I don't change
any header files, just comment out some statements in the .cpp file and
recompile using make, it didn't have any effect. Unless I remove some other
related *.o's and recompile. I don't have this issue on my laptop. So I'm a
bit pissed off by the cluster. By the way I'm also using ar and ranlib to
generate a library for all my object files.
The cluster tha
t*********g
发帖数: 6
8
来自主题: Computation版 - 有没有用Lapack的?
我想在solaris8上装CLAPACK,可是安装时遇到以下问题:
ranlib libF77.a
mv libF77.a ..
( cd F2CLIBS/libI77; make )
cp libI77.a ..
( cd INSTALL; make; ./testlsame; ./testslamch; \
./testdlamch; ./testsecond; ./testdsecnd; \
cp lsame.c ../BLAS/SRC/; cp lsame.c ../SRC; \
cp slamch.c ../SRC/; cp dlamch.c ../SRC/; \
cp second.c ../SRC/; cp dsecnd.c ../SRC/ )
g++ -o testlsame lsame.o lsametst.o \
../F2CLIBS/libF77.a ../F2CLIBS/libI77.a -lm -lc
Undefined first referenced
symbol
O******e
发帖数: 734
9
URL for the link to the source, and what kinds of computer and
Fortran compiler do you have?

center
I
.
(共0页)