Re: Compilation of Amber6 in linux machine

From: David Konerding <>
Date: Mon 19 Feb 2001 07:46:55 -0800

"A.Madhumalar" writes:
>Dear AMBER users,
> I am trying to compile amber6 in redhat linux6.2.I 've used this
>machine file Machine.g77_mpich & i tried to compile anal directory
>The compilation stops after giving the err message like this
>cat mexit.f | /lib/cpp -traditional
>-I/usr/local/src/mpich/build/LINUX/ch_p4/include -P
> -DLinux -DISTAR2 -DREGNML -DMPI > _mexit_.f
>:25: mpif.h: No such file or directory
>make[1]: *** [mexit.o] Error 1
>make[1]: Leaving directory `/home1/shiba/amber6/amber6/src/lib
>make: *** [libobj] Error 1
>For me it seems some library files are missing in /usr/local/src,if so
>from where can i download this files??.And also i want to know what is the
>difference bet Machine.g77_mpich & Machine.g77.When i tried to compile
>with Machine.g77,i couldn't start compilation only.I will be thankful if
>somebody could suggest on this.

My suggestion is that you tell us what Machine.g77 said when you tried to
compile. Machine.g77 is the one you want to use on Linux machines if
you aren't going to be using parallelization. Machine.g77_mpich is the one you
want to use if you are using parallelization with the MPICH library.

Your compile above produced the error "mpif.h: No such file or directory"
which makes sense because you tried to compile Amber wth MPICH and
you don't have MPICH in the directory /usr/local/src/mpich (which is where
Machine.g77_mpich looks by default).

Received on Mon Feb 19 2001 - 07:46:55 PST
Custom Search