RE: [AMBER] Error in parallel compiling of Amber

From: Ross Walker <ross.rosswalker.co.uk>
Date: Tue, 19 Jan 2010 11:39:35 -0800

Hi Nicee,

> I compiled AMBER successfully in serial but while compiling in parallel
> the
> error was coming. I have set all the paths and ld_library path as given
> in the
> manual. As such I request you to kindly have a look into the problem.
>
> The error is as below:
>
> /usr/local/lib/libmpi.so: file not recognized: File format not
> recognized
> make[1]: *** [sander.MPI] Error 1
> make[1]: Leaving directory `/home/nicee/amber9/src/sander'
> make: *** [parallel] Error 2

Are you sure /usr/local/lib/libmpi.so is the correct library to be using?

What does your $AMBERHOME/src/config.h file look like?

Additionally what do you get with:

which mpif90
mpif90 -show

>From the above it looks to me like you are linking to a library which was not built for the architecture you are running on. Are you sure the compiler you are using matches the one MPI was built with?

Or for some reason it is trying to execute libmpi.so. We would need to see what your config.h file looks like and what the above commands give to help much more.

All the best
Ross

/\
\/
|\oss Walker

| Assistant Research Professor |
| San Diego Supercomputer Center |
| Tel: +1 858 822 0854 | EMail:- ross.rosswalker.co.uk |
| http://www.rosswalker.co.uk | http://www.wmd-lab.org/ |

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.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Jan 19 2010 - 12:00:04 PST
Custom Search