Still about the MPICH and Intel Fortran Compiler:
Ao Jiang
ajiang at mail.eecis.udel.edu
Tue Oct 7 21:58:21 EDT 2003
Hi,
First, I want to thank all of you for the answers and suggestions
for my question last time.
(
Last time, I tried:
"
ifc -I /opt/mpich-1.2.5/include -Lmpi -w -Lm -o p_wg3 p_fdtd3dwg3_pml.f90
"
The system failed to compile it and gave me the following information:
"
module EHFIELD
program FDTD3DPML
external function RISEF
3228 Lines Compiled
/tmp/ifcVao851.o(.text+0x5a): In function `main':
: undefined reference to `mpi_init_'
.
.
.
)
Most of friends suggest me to use '-lmpi', instead of '-Lmpi', I tried
it, the system gave me the following error:
"
ifc -I/opt/mpich-1.2.5/include -lmpi -w -o p_wg3 p_fdtd3dwg3_pml.f90
module EHFIELD
program FDTD3DPML
external function RISEF
external subroutine COM_HZY
3228 Lines Compiled
ld: cannot find -lmpi
"
either does '-lmpif', although there exist 'mpif.h' and 'mpi.h' in the
directory '/opt/mpich-1.2.5/include'.
I also tried the command:
"
/opt/mpich-1.2.5/bin/mpif90 -w -o p_wg3 p_fdtd3dwg3_pml.f90
"
The system gave the error:
"
3228 Lines Compiled
/opt/intel/compiler70/ia32/lib/libIEPCF90.a(f90fioerr.o)(.text+0x4d3): In
function `f_f77ioerr':
: undefined reference to `__ctype_b'
"
In fact, I don't know what this error means. Of course, I don't know
how to slove it either.
Tom
_______________________________________________
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf
More information about the Beowulf
mailing list