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&#39;t see any errors in the files, but when I run &quot;mpif90 -echo&quot;, it gave this error message:<br><br>+ &#39;[&#39; no = no &#39;]&#39;<br>+ unset &#39;allargs[0]&#39;<br>++ expr 0 + 1<br>

+ argno=1<br>+ &#39;[&#39; 1 -eq 0 &#39;]&#39;<br>+ &#39;[&#39; no = yes &#39;]&#39;<br>+ mpilibs=&#39;-lmpichf90 -lmpich -lopa&#39;<br>+ F90FLAGS=<br>+ LDFLAGS=&#39; &#39;<br>+ &#39;[&#39; -n &#39;&#39; &#39;]&#39;<br>+ &#39;[&#39; -z -I &#39;]&#39;<br>

+ F90INCDIRS=-I/home/yanglei/mpich2/include<br>+ moduledir=/home/yanglei/mpich2/include<br>+ modulelib=mpichf90<br>+ &#39;[&#39; -n &#39;&#39; &#39;]&#39;<br>+ &#39;[&#39; -n -I &#39;]&#39;<br>+ F90MODDIRS=-I/home/yanglei/mpich2/include<br>

+ F90MODLIBS=-lmpichf90<br>+ &#39;[&#39; yes = yes &#39;]&#39;<br>+ &#39;[&#39; -n &#39;&#39; &#39;]&#39;<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&#39;:</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__&#39;</span><br>

+ rc=1<br>+ &#39;[&#39; -n &#39;&#39; &#39;]&#39;<br>+ exit 1<br><br>and we don&#39;t even have /<span style="color: rgb(102, 0, 204);">export/users/nbtester</span>...directory. and obviously the mpif90 doesn&#39;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!