Re: AMBER: Intel Fortran Compiler Problem

From: Stephen P. Molnar, Ph.D. <s.molnar.sbcglobal.net>
Date: Wed, 15 Sep 2004 11:38:11 -0400

Thanks for the reply. That took care of the first error.

I got quite a bit further before:

ar cru libpdb.a pdbrun.o pdb_read.o pdb_sprntf.o pdb_sscanf.o
pdb_write.o ms.o
: libpdb.a
make[2]: Leaving directory `/home/computation/amber7/src/ptraj/pdb'
.../Compile LOADCC -o rdparm main.o rdparm.o dispatch.o help.o utility.o
io.o trajectory.o torsion.o rms.o display.o interface.o energy.o
experimental.o ptraj.o actions.o analyze.o pdb/libpdb.a -lm
/opt/intel_fc_80/bin/ifort -o rdparm main.o rdparm.o dispatch.o help.o
utility.o io.o trajectory.o torsion.o rms.o display.o interface.o
energy.o experimental.o ptraj.o actions.o analyze.o pdb/libpdb.a -lm
main.o(.text+0x68): In function `main':
: multiple definition of `main'
/opt/intel_fc_80/lib/for_main.o(.text+0x0): first defined here
ld: Warning: size of symbol `main' changed from 42 in
/opt/intel_fc_80/lib/for_main.o to 271 in main.o
/opt/intel_fc_80/lib/for_main.o(.text+0x1c): In function `main':
: undefined reference to `MAIN__'
make[1]: *** [rdparm] Error 1
make[1]: Leaving directory `/home/computation/amber7/src/ptraj'
make: *** [install] Error 2


On Wed, 2004-09-15 at 10:52, Robert Duke wrote:
> Maybe leave LOADLIB defined as nothing in the MACHINE file?
> ----- Original Message -----
> From: "Stephen P. Molnar, Ph.D." <s.molnar.sbcglobal.net>
> To: "Amber" <amber.scripps.edu>
> Sent: Wednesday, September 15, 2004 11:13 AM
> Subject: Re: AMBER: Intel Fortran Compiler Problem
>
>
> > Thanks for your reply.
> >
> > On Wed, 2004-09-15 at 10:33, Viktor Hornak wrote:
> > > Stephen P. Molnar, Ph.D. wrote:
> > > > I am attempting to compile Amber v7 for my SuSE9.0 linux partition
> using
> > > > the Inter Fortran Compiler v8.
> > > >
> > > > Unfortunately, I got the following error early on:
> > > >
> > > > /opt/intel_fc_80/bin/ifort -o new2oldparm new2oldparm.o nxtsec.o
> > > > -lPEPCF90
> > > > ld: cannot find -lPEPCF90
> > > >
> > > > Now, according, to the locate command PEPCF90 is part of the v7 Intel
> > > > compiler, and is not to be found in v8.
> > > >
> > > > What is the solution to this problem.
> > >
> > > removing the -lPEPCF90 from the MACHINE file should do it...
> > >
> > Good suggestion! Unfortunately, it generated a new error:
> > mkdir ../exe
> > cd lib; make install
> > make[1]: Entering directory `/home/computation/amber7/src/lib'
> > ../Compile L0 -P -DNEWPARM nxtsec.f
> > cat nxtsec.f | /lib/cpp -traditional -P -DNEWPARM -DLinux
> > -DMEM_ALLOC > _nxtsec_.f
> > /opt/intel_fc_80/bin/ifort -c -w -O2 _nxtsec_.f
> > ../Compile LOAD -o new2oldparm new2oldparm.o nxtsec.o
> > LOADLIB: Undefined variable.
> > make[1]: *** [new2oldparm] Error 1
> > make[1]: Leaving directory `/home/computation/amber7/src/lib'
> > make: *** [install] Error 2
> >
> >
> > > Cheers,
> > > -Viktor
> > --
> > Stephen P. Molnar, Ph.D. Life is a fuzzy set
> > Foundation for Chemistry Stochastic and multibariant
> > http://www.geocities.com/FoundationForChemistry
> >
> > -----------------------------------------------------------------------
> > The AMBER Mail Reflector
> > To post, send mail to amber.scripps.edu
> > To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
> >
>
>
> -----------------------------------------------------------------------
> The AMBER Mail Reflector
> To post, send mail to amber.scripps.edu
> To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Wed Sep 15 2004 - 16:53:00 PDT
Custom Search