Re: compiling ADF2.3 on linux?

Search:

Re: compiling ADF2.3 on linux?

From: Jochen Autschbach <jochena_at_email.domain.hidden>
Date: Tue, 16 Mar 2004 09:57:25 -0500 (EST)

Dear Wenge

Below is a Makeflags file that works on our machines (RH7.3, g77 version
2.96 20000731). Meaning, with these settings I could compile and link an
adf executable. I also had to set "cio=false" in the file "settings".
Whether adf2.3 actually works is a nother issue ... there seem to be
some problems related to the the IO. I'd be interested to hear from you
whether you got it to run properly, and how.
AFAIK adf2.3.3 was never supposed to be compiled with g77 under Linux. I
had good experience with the older versions (adf 2.0 to 2.0.3), but
there are many differences between those and 2.3. Perhaps another
compiler would do a better job (PGI?).

Regards,
Jochen

----- Begin Makeflags ------------------------------------------------
FCPARS=g77
FFPARS=-O -w -fno-second-underscore
LFPARS=

CC=gcc
CFLAGS=-Dpentium_linux -fno-second-underscore
CDBFLAGS=-g -Dpentium_linux

FC=g77 -w -fno-second-underscore
O0V0=-O0
O1V0=-O1
O2V0=-O2
O0V1=-O0
O1V1=-O1
O2V1=-O2

DBFLAGS=-g
LDBFLAGS=-g

AR=ar
RANLIB=echo Finished

LIBEXTRA=-lresolv
LFLAGS=-static
-Wl,--defsym,res_init=__res_init,--defsym,res_search=__res_search
,-u,__res_search,-u,__res_init
CCODE=true

PVMUSE=
platform=pentium_linux

ADFHOME=/software/adf/adf2.3.3
ADFBIN=/software/adf/adf2.3.3/bin

INSTALL=$(ADFHOME)/Install
OFILES=$(ADFHOME)/OFILES
GFILES=$(ADFHOME)/GFILES

-------------------------------------------------------

On Mon, 15 Mar 2004, Wenge Han wrote:

> Dear all,
>
> I am trying to compile ADF2.3 on our redhat 7.3 linux cluster,
> but cannot be succesful. The error messages are like:
>
> --------
> make[5]: *** No rule to make target `TSTAMP/*.[cd]*', needed by
> `TSTAMP/TSTAMP'. Stop.
>
> /thr/faraday-c/wengehan/ADF2.3/Install/pentium_linux/ctc.o: In function `my_gdn'
> :
> /thr/faraday-c/wengehan/ADF2.3/Install/pentium_linux/ctc.o(.text+0x88c): undefin
> ed reference to `res_init'
> /thr/faraday-c/wengehan/ADF2.3/OFILES/libadf.a(adfexi.o): In function `adfexi_':
> adfexi.o(.text+0x476): undefined reference to `bufio_stats__'
> /thr/faraday-c/wengehan/ADF2.3/OFILES/libtc.a(kfclfl.o): In function `kfclfl_':
> kfclfl.o(.text+0xc6): undefined reference to `cio_close__'
> /thr/faraday-c/wengehan/ADF2.3/OFILES/libtc.a(kfcrfl.o): In function `kfcrfl_':
> kfcrfl.o(.text+0x78): undefined reference to `cio_fileinfo__'
> kfcrfl.o(.text+0x10b): undefined reference to `cio_open__'
> ...
>
> ------
>
> I read some discussions in the archive of ADF-list back to 1998.
> I wonder if any of you has experience with the newer linux machines
> and the gcc/g77 compilers? Could you please tell me how to modify
> the Makeflags or which version of gcc/g77 will work?
>
> Thank you very much for the help!
>
> Wenge
>
> -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
>
> o The Wenge Han (Ph.D.)
> / Department of Molecular Biology, TPC-15
> o Scripps The Scripps Research Institute
> \ 10550 North Torrey Pines Road
> o Research La Jolla, CA 92037 (USA)
> /
> o Institute phone: +1-858-784-8296, fax: +1-858-784-8896
> e-mail: wengehan_at_scripps.edu
>
> -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
>
>

-----------------------------------------------
 Dr. Jochen Autschbach

 Assistant Professor
 Department of Chemistry
 University at Buffalo
 State University of New York
 312 Natural Sciences Complex
 Buffalo, NY 14260-3000

 EMail : jochena_at_buffalo.edu
 Phone : (+01)-716-645-6800 ext. 2086
 FAX : (+01)-716-645-6963
 WWW : http://www.chem.buffalo.edu/Autschbach
         http://www.nsm.buffalo.edu/~jochena
-----------------------------------------------
Received on 2004-03-16 16:29:21

This archive was generated by hypermail 2.2.0 : 2006-11-02 07:00:02 CET