RE: AMBER: Amber9 installation error

From: Ross Walker <ross.rosswalker.co.uk>
Date: Sat, 18 Nov 2006 09:20:39 -0800

Dear Keerthi,

> Starting installation of Amber9 (serial) at Fri Nov 17
> 18:02:11 CST 2006.
> cd lib; make install
> make[1]: Entering directory `/usr/local/amber9/src/lib'
> g95 -o new2oldparm new2oldparm.o nxtsec.o
> /home/keerthi/g95-install/bin/../lib/gcc-lib/x86_64-unknown-li
> nux-gnu/4.0.3//libf95.a(main.o): In function `main':
> main.c:(.text+0xa): undefined reference to `MAIN_'

Here all the compiler did is link, you do not see it try to compile
new2oldparm.f. This suggests that the current source directories you have
are not clean. I.e. they contain object files that were compiled with
another compiler. Hence when g95 tries to link it finds that the naming
convention it uses doesn't match that of the compiler that originally
compiled the object files.

You can try doing.

cd $AMBERHOME/src
make clean
make

That should work. Failing that I would make sure you start with a completely
clean tree. Untar the amber9.tgz file from the amber cd and use that. You
should also apply all the bug fixes from the amber website first.

All the best
Ross

/\
\/
|\oss Walker

| HPC Consultant and Staff Scientist |
| San Diego Supercomputer Center |
| Tel: +1 858 822 0854 | EMail:- ross.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.


-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Sun Nov 19 2006 - 06:08:00 PST
Custom Search