hi, all,<br><br>I apologize for sending wrong files last time, this time is certainly MPICH2-1.2<br>I set environmental variables like this:<br><br>export FC=/opt/intel/fce/10.0.023/bin/ifort<br>export F90=/opt/intel/fce/10.0.023/bin/ifort<br>
export CC=gcc<br><br> Didn't see any errors in the files, but when I run "mpif90 -echo", it gave this error message:<br><br>+ '[' no = no ']'<br>+ unset 'allargs[0]'<br>++ expr 0 + 1<br>
+ argno=1<br>+ '[' 1 -eq 0 ']'<br>+ '[' no = yes ']'<br>+ mpilibs='-lmpichf90 -lmpich -lopa'<br>+ F90FLAGS=<br>+ LDFLAGS=' '<br>+ '[' -n '' ']'<br>+ '[' -z -I ']'<br>
+ F90INCDIRS=-I/home/yanglei/mpich2/include<br>+ moduledir=/home/yanglei/mpich2/include<br>+ modulelib=mpichf90<br>+ '[' -n '' ']'<br>+ '[' -n -I ']'<br>+ F90MODDIRS=-I/home/yanglei/mpich2/include<br>
+ F90MODLIBS=-lmpichf90<br>+ '[' yes = yes ']'<br>+ '[' -n '' ']'<br><span style="color: rgb(102, 51, 255);">+ /opt/intel/fce/10.0.023/bin/ifort -I/home/yanglei/mpich2/include -I/home/yanglei/mpich2/include -L/home/yanglei/mpich2/lib -L/home/yanglei/mpich2/lib -lmpichf90 -lmpichf90 -lmpich -lopa -lpthread -lrt</span><br style="color: rgb(102, 51, 255);">
<span style="color: rgb(102, 51, 255);">/opt/intel/fce/10.0.023/lib/for_main.o: In function `main':</span><br style="color: rgb(102, 51, 255);"><span style="color: rgb(102, 51, 255);">/export/users/nbtester/efi2linuxx86_nightly/branch-10_0/20070427_000000/libdev/frtl/src/libfor/for_main.c:(.text+0x26): undefined reference to `MAIN__'</span><br>
+ rc=1<br>+ '[' -n '' ']'<br>+ exit 1<br><br>and we don't even have /<span style="color: rgb(102, 0, 204);">export/users/nbtester</span>...directory. and obviously the mpif90 doesn't work...<br>
<br>My machine is 64bit cluster, ifort is 10.0.023 for x86-64 system.<br>
<br>Attached are three files for MPICH2 installation.<br><br>Thanks a lot!