AMBER Archive (2002)

Subject: Re: Problems with AMBER7 and Multiple Processors on SGI servers

From: David Case (case_at_scripps.edu)
Date: Tue Apr 30 2002 - 11:02:30 CDT


On Tue, Apr 30, 2002, Vincent BOSQUIER wrote:
>
> First, let me thank you very much for your help. I have installed MPICH on
> my SGI server and that seems to work fine. But now, when I "make install"
> AMBER7, with the Machine.sgi_mpich file linked as MACHINE in src directory,
> I have an error when it begins to "make install" in the mm_pbsa directory.

> In fact, the command "cc -O -c molsurf.c" runs apparently correctly, but
> the next command ("mpif77 -o molsurf molsurf.o -lm -lblas -lcomplib.sgimath
> -lfastm") generates the following error message :

> ld64: FATAL 12 : Expecting n64 objects: molsurf.o is n32.
> *** Error code 1 (bu21)
> *** Error code 1 (bu21)
>

You need to add a suffix rule to amber7/src/mm_pbsa/Makefile:

.c.o: $<
        ../Compile CC -D$(PREC) $<

(where there is a TAB character at the beginning of the second line.)

I will install this as a bugfix on the web site.

[You should also note: I don't think anybody I know of has used
Machine.sgi_mpich for a while. Do you not have access to SGI's MPI
implementation?]

...good luck...dac

-- 

================================================================== David A. Case | e-mail: case_at_scripps.edu Dept. of Molecular Biology, TPC15 | fax: +1-858-784-8896 The Scripps Research Institute | phone: +1-858-784-9768 10550 N. Torrey Pines Rd. | home page: La Jolla CA 92037 USA | http://www.scripps.edu/case ==================================================================