AMBER: MPICH-1.2.7 compilation problem !

From: Pradipta Bandyopadhyay <pradipta.iitg.ernet.in>
Date: Fri, 3 Feb 2006 19:19:31 +0530 (IST)

As the first step of AMBER 8 parallel compilation, I was trying to install
mpich-1.2.7

My machine is dual-processor xeon - single box - it has hyperthreading.
'top' command gives 4 cpus.

uname -a gives

Linux localhost.localdomain 2.4.21-4.ELsmp #1 SMP Fri Oct 3 17:52:56 EDT
2003 i686 i686 i386 GNU/Linux

My fortran compiler is intel ifort (9.0.021)

I used

setenv CC gcc
setenv FC ifort

./configure -prefix=/home/pradipta/test -with-device=ch_shmem -cc=$CC -fc=$FC

make install

I am getting the following error
-------------------------------------------------------------
Testing if Fortran77 application can be linked with graphics library

/home/pradipta/mpich-1.2.7/bin/mpif77
-I/home/pradipta/mpich-1.2.7/include -c fxgraphics.f
fortcom: Error: /home/pradipta/mpich-1.2.7/include/mpif.h, line 192:
Syntax error, found ')' when expecting one of: ( <IDENTIFIER>
<CHAR_CON_KIND_PARAM> <CHAR_NAM_KIND_PARAM> <CHARACTER_CONSTANT>
<INTEGER_CONSTANT> ...
      PARAMETER (MPI_ADDRESS_KIND=)
--------------------------------------------------------------

Did anyone experience this?

Also, for the steps afterwards, I learned that I need to make the
machines.LINUX file as

localhost.localdomain:2

Is there anything else I need to do for SMP machine (like adding the
hostnames to /etc/hosts)?

Thanks a lot.

 Pradipta






-----------------------------------------------------------------------------------
This email was sent from IIT Guwahati Webmail. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.
http://www.iitg.ernet.in
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Sat Feb 04 2006 - 06:10:06 PST
Custom Search