AMBER Archive (2006)

Subject: Re: AMBER: compile amber8 on IBM-sp4

From: Rachel (comeonsos_at_googlemail.com)
Date: Thu Nov 23 2006 - 03:56:53 CST


Hi, Xuebin,

Thanka for your reply. After I removed the -traditional as you suggested,
the first mistake is gone, however, about the 2nd one, althought I commented
out the "Machines/ibm_aix" out, I still have the following error:
#############################################################

1501-510 Compilation successful for file _lapack.f.
        cd ../ ; make sys.a
make: 1254-002 Cannot find a rule to create target sys.a from dependencies.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
############################################################

The only line I commented out is "SYSDIR=Machines/ibm_aix", can I ask are
there any other lines I need to comment out as well? And also about the
other way you mentioned that to compile the remaining rules manually in
Makefile, I don't quite understand how to do that, can you please tell me
more about that? Thank you very much for your kind help and patience.

With my best regards,

Rachel

On 11/23/06, Xuebin Qiao <xbqiao_at_gmail.com> wrote:
>
> Hi:
>
> On 11/23/06, Rachel <comeonsos_at_googlemail.com> wrote:
> >
> > Dear Ross,
> >
> > Thanks a lot for your reply. After I entered:
> > cd $AMBERHOME/src
> > ./configure -nopar xlf90_aix
> > make clean
> > make
> >
> > I got message says:
> > #############################
> >
> > cd ../lib ; ./Makelist ../lib/mexit.o ../lib/amopen.o
> > ../lib/lapack.o
> > Target "mexit.o" is up to date.
> > Target "amopen.o" is up to date.
> > /lib/cpp -traditional -P
> > -I/hpcx/home/e39/e39/uq281/amber8/src/include -DMASSLIB -DESSL -DNMLEQ
> > -DCLINK_PLAIN -Drs6000 lapack.f > _lapack.f
> > 1506-173 (W) Option traditional is not valid. Enter xlc for list of
> > valid options.
> >
> ^^^^^^^^^^^
> Here, error is clear, remove "-traditional" in cpp command line.
>
>
>
> > xlf90 -c -qfixed -c -o lapack.o _lapack.f
> > ** dgetrf === End of Compilation 1 ===
> > ** dgetrs === End of Compilation 2 ===
> > ** dgetf2 === End of Compilation 3 ===
> > ** dlaswp === End of Compilation 4 ===
> > ** ilaenv === End of Compilation 5 ===
> > ** lsame === End of Compilation 6 ===
> > ** xerbla === End of Compilation 7 ===
> > ** dgemm === End of Compilation 8 ===
> > ** dger === End of Compilation 9 ===
> > ** dscal === End of Compilation 10 ===
> > ** dswap === End of Compilation 11 ===
> > ** dtrsm === End of Compilation 12 ===
> > ** idamax === End of Compilation 13 ===
> > 1501-510 Compilation successful for file _lapack.f.
> > cd ../Machines/ibm_aix ; make sys.a
> > /bin/sh: ../Machines/ibm_aix: not found.
> >
> ^^^^^^^^^^^^^^
> This line is broken. I once compiled amber8 on a IBM RS6000 machine. There
> are two
> solutions. One way is to comment out "Machines/ibm_aix" related lines in
> configure script.
> The other way is simply forget it and manually compile remaining rules
> listed in src/Makefile
>
>
>
>
> --
> ... there have been two really clean,
> consistent models of programming so far:
> the C model and the Lisp model.
> These two seem points of high ground,
> with swampy lowlands between them.
>
> --Paul Graham

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu