Hi!
I am using lam-mpi on linuxcluster running Suse 7.2. Recently I updated the
Intel Fortran Compiler from version 5 to version 7, which broke my lam-mpi
(version 6.5.6) installation. That was why I updated lam to the most recent
version 6.5.9.
I built the whole thing from source using:
./configure --prefix=/opt/lam
--with-hf77=/opt/intel/compiler70/ia32/bin/ifc
make
make install
furthermore I set the following environment variable in a script :
export LAMRSH="ssh -x"
export LAMHOME="/opt/lam"
export PATH="$LAMHOME/bin:$PATH"
export MANPATH="$MANPATH:/opt/lam/man"
When try to call it with a .f90 file I get :
hf77 dlcca_mpi.f90
/usr/i486-suse-linux/bin/ld:dlcca_mpi.f90: file format not recognized;
treating
as linker script
/usr/i486-suse-linux/bin/ld:dlcca_mpi.f90:1: parse error
collect2: ld returned 1 exit status
with f77 file I get:
hf77 code125.f -o try_mpi
/usr/lib/gcc-lib/i486-suse-linux/2.95.3/libg2c.a(open.o): In function
`f_open': open.o(.text+0x4da): the use of `tempnam' is dangerous, better use
`mkstemp'
which works despite the warning.
So now mpi won't accept f90 files and the compiler considers a file ending
in .f a Fortran 77 files and won't compile it.
Probably there is an easy and elegant solution, but I just could not think
of one.
Any advice appreciated ;)
Bye,
Nils
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
|