AMBER Archive (2009)

Subject: RE: [AMBER] amber10 parallel compiling error

From: Ross Walker (ross_at_rosswalker.co.uk)
Date: Thu Jul 16 2009 - 22:43:15 CDT


Hi Nam,

> I have successfully compiled amber10 with g95 in serial, but for the
> parallel mode, I failed with the error message:
> /share/apps/openmpi/bin/mpif90 -c -O3 -fno-second-underscore
> -ffree-form -o ncsu-umbrella.o _
>
> ncsu-umbrella.f
>
> Fatal Error: Reading module netcdf at line 3 column 1: Expected left
> parenthesis
>
> make[1]: *** [ncsu-umbrella.o] Error 1
>
> make[1]: Leaving directory `/share/apps/amber10/src/sander'
>
> make: *** [parallel] Error 2

I have not seen this error before but a couple of things to try.

1) As a work around you could compile without NetCDF support:

  ../configure_amber -mpich2 -nobintraj g95

2) If you want to keep the netcdf support try doing a full clean of both
amber and ambertools before configuring for parallel. E.g.

cd $AMBERHOME/src/
make -f Makefile_at clean
make clean
./configure_amber -mpich2 g95
make parallel

Obviously adjusting the options (mpich2) above for the MPI version you are
using.

Good luck,
Ross

/\
\/
|\oss Walker

| Assistant Research Professor |
| San Diego Supercomputer Center |
| Tel: +1 858 822 0854 | EMail:- ross_at_rosswalker.co.uk |
| http://www.rosswalker.co.uk | PGP Key available on request |

Note: Electronic Mail is not secure, has no guarantee of delivery, may not
be read every day, and should not be used for urgent or sensitive issues.

_______________________________________________
AMBER mailing list
AMBER_at_ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber