<DIV>&nbsp;</DIV>
<DIV>Dear Alex and all,</DIV>
<DIV>&nbsp;&nbsp; I met a problem when starting&nbsp;smeagol compilation. </DIV>
<DIV><BR>Compilation architecture to be used: mpif90<BR>If this is not what you want, create the right<BR>arch.make file using the models in Sys</DIV>
<DIV>Hit ^C to abort...<BR>cc -fast -C&nbsp;&nbsp; version.o&nbsp;&nbsp; -o version<BR>/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crt1.o(.text+0x18): In function `_start':<BR>../sysdeps/i386/elf/start.S:77: undefined reference to `main'<BR>version.o(.text+0x3d): In function `get_version':<BR>/home/xuy/mpich2-1.0.3/mpich2-1.0.3/bin/mpif90 -c -fast -C&nbsp;&nbsp;&nbsp; -DCDF -DMPI version.F90<BR>cc -fast -C&nbsp;&nbsp; version.o&nbsp;&nbsp; -o version<BR>/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crt1.o(.text+0x18): In function `_start':<BR>../sysdeps/i386/elf/start.S:77: undefined reference to `main'<BR>version.o(.text+0x3d): In function `get_version':<BR>/home/xuy/smeagol/Src/version.F90:42: undefined reference to `pgf90io_src_info'<BR>version.o(.text+0x65):/home/xuy/smeagol/Src/version.F90:42: undefined reference<BR>to `pgf90io_encode_fmt'<BR>version.o(.text+0xa1):/home/xuy/smeagol/Src/version.F90:42: undefined reference<BR>to `pgf90io_fmtw_init'<BR>version.o(.text+0xcb):/home/xuy/smeagol/Src/version.F90:42: undefined reference<BR>to `pgf90io_fmt_write'<BR>version.o(.text+0xd3):/home/xuy/smeagol/Src/version.F90:42: undefined reference<BR>version.o(.text+0x4a0):/home/xuy/smeagol/Src/version.F90:74: undefined reference to `pgf90_subchk'<BR>version.o(.data+0xe4):/home/xuy/smeagol/Src/version.F90:42: undefined reference<BR>to `__pgdbg_stub'<BR>version.o(.data+0xe8):/home/xuy/smeagol/Src/version.F90:42: undefined reference<BR>to `pgf90_compiled'<BR>collect2: ld returned 1 exit status<BR>make: *** [version] Error 1<BR></DIV>
<DIV>&nbsp;</DIV>
<DIV>the&nbsp; arch.make file is as following,</DIV>
<DIV>&nbsp;SIESTA_ARCH=mpif90<BR>#<BR>FC=/home/xuy/mpich2-1.0.3/mpich2-1.0.3/bin/mpif90<BR>FC_ASIS=$(FC)</DIV>
<DIV>FFLAGS= -fast -C&nbsp; <BR>LDFLAGS= -fast -C <BR>COMP_LIBS= linalg.a<BR>TRANSPORTFLAGS= -c -fast </DIV>
<DIV>SOURCE_DIR=/home/xuy/smeagol/<BR>EXEC = smeagol-1.0</DIV>
<DIV>NETCDF_LIBS=/home/xuy/smeagol/Src/libnetcdf.a<BR>NETCDF_INTERFACE=libnetcdf_f90.a<BR>DEFS_CDF=-DCDF</DIV>
<DIV>MPI_INTERFACE=libmpi_f90.a<BR>MPI_INCLUDE=/usr/support/pgmpich/include/<BR>DEFS_MPI=-DMPI</DIV>
<DIV><BR>LIBS= -L/usr/lib/ $(HOME)/NETransport/library/LIBS-pg/libscalapack.a $(HOME)/NETransport/library/LIBS-pg/blacsF77init_MPI-I860-0.a $(HOME)/NETransport/library/LIBS-pg/blacs_MPI-I860-0.a $(HOME)/NETransport/library/LIBS-pg/blacsCinit_MPI-I860-0.a&nbsp; $(NETCDF_LIBS) -llapack -lblas -lf2c</DIV>
<DIV><BR>RANLIB=echo<BR>SYS=bsd<BR>DEFS= $(DEFS_CDF) $(DEFS_MPI)<BR>#<BR>.F.o:<BR>&nbsp;$(FC) -c $(FFLAGS)&nbsp; $(DEFS) $&lt;<BR>.f.o:<BR>&nbsp;$(FC) -c $(FFLAGS)&nbsp;&nbsp; $&lt;<BR>.F90.o:<BR>&nbsp;$(FC) -c $(FFLAGS)&nbsp; $(DEFS) $&lt;<BR>.f90.o:<BR>&nbsp;$(FC) -c $(FFLAGS)&nbsp;&nbsp; $&lt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>#<BR></DIV>
<DIV>In fact, I'm not familar with the mpi compilation.&nbsp;Could anyone help me? thanks in advance!</DIV>
<DIV>Regards,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Xu Ying</DIV>
<DIV>&nbsp; </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV><br><!-- footer --><br><br><br><br><br><div style="border-bottom:1px solid #999"></div><br>

        <font color="black" style="font-size:14.8px"> K a p p a \ A N D 1 \ R e e b o k 全 长 场 9 9 元 </font>
        <br>
         <a href="http://adtaobao.allyes.com/main/adfclick?db=adtaobao&bid=600,597,58&cid=30015,198,1&sid=32501&show=ignore&url=http://www.taobao.com/vertical/sports/pro.php" target="_blank" style="font-size:13px;line-height:160%;color:blue"> 耐 克 \ 阿 迪 \ 李 宁 … 所 有 运 动 单 品 1 9 9 元 封 顶 , 限 时 抢 购 啦 ! </a>