AMBER Archive (2004)

Subject: Re: AMBER: Problem compiling amber7

From: Viktor Hornak (hornak_at_csb.sunysb.edu)
Date: Mon May 24 2004 - 10:19:04 CDT


Dear Miguel,

I would try version 8.0 of Intel compilers with more recent linux
distributions (such as Suse 9.0). Version 7.0 didn't support newer glibc
libraries, which might be the reason you could compile in Suse 8.0 but
not in 9.0. That said, I was able to successfully compile amber7 (and
parallel sander passed all the tests) on Suse 9.0 using Intel fortran
compilers version 8.0 and mpich-1.2.5.2. I was using the Machine file
from the following amber page under RedHat 9 or Suse 8.2 sections:
http://amber.scripps.edu/cluster_info/compile_a7.html

Hope this helps,
-Viktor

Miguel wrote:

> Hello amber:
>
> I'm trying to compile amber7 on a dual Xeon PC under SuSE linux 9.0 with Intel Fortran Compiler 7.0 and I got the net error message:
>
>-------------------------------------------------------------
>
>amber7/src# make install
>
>mkdir ../exe
>mkdir: cannot create directory `../exe': File exists
>make: [install] Error 1 (ignored)
>cd lib; make install
>make[1]: Entering directory `/usr/local/amber7/src/lib'
>../Compile L0 -P -DNEWPARM nxtsec.f
>cat nxtsec.f | /lib/cpp -traditional -P -DNEWPARM -DLinux -DMEM_ALLOC > _nxtsec_.f
>ifc -c -w -O2 _nxtsec_.f
> external subroutine NXTSEC
> external function NNBCHR
>
>363 Lines Compiled
>../Compile LOAD -o new2oldparm new2oldparm.o nxtsec.o
>ifc -o new2oldparm new2oldparm.o nxtsec.o -lPEPCF90
>/opt/intel/compiler70/ia32/lib/libIEPCF90.a(f90fioerr.o)(.text+0x6d9): In function `f_fiomess.':
>: undefined reference to `errno'
>/opt/intel/compiler70/ia32/lib/libIEPCF90.a(f90fioerr.o)(.text+0x76b): In function `f_seterrno':
>: undefined reference to `errno'
>/opt/intel/compiler70/ia32/lib/libIEPCF90.a(f90file.o)(.text+0x4746): In function `FileOpen':
>: undefined reference to `errno'
>make[1]: *** [new2oldparm] Error 1
>make[1]: Leaving directory `/usr/local/amber7/src/lib'
>make: *** [install] Error 2
>
>------------------------------------
>
> Previously I had compiled amber 7 in the same machine, with the same compiler (ifc 7.0) under SuSE 8.0 without any problem. Could anybody tell me what the error message means, or if there is any incompatibility reported with SuSE 9.0?
>
> Thank you in advance,
>
>Miguel.
>-----------------------------------------------------------------------
>The AMBER Mail Reflector
>To post, send mail to amber_at_scripps.edu
>To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu
>
>

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu