[AMBER] C/Fortran compilation

From: Kanin Wichapong <kanin.wichapong.gmail.com>
Date: Fri, 17 Mar 2017 16:42:27 +0100

Dear Amber users,

I try to install Amber16 on my computer, ubuntu 16.04 with GeForce GTX480.
For the first step only normal installation;

*./configure gnu*

Testing mixed C/Fortran compilation:

gcc -fPIC -DSYSV -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o testp.c.o
testp.c

gfortran -fPIC -O0 -c -o testp.f.o testp.f

gcc -fPIC -DSYSV -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o testp
testp.c.o testp.f.o -lgfortran -w

OK

everything is going fine and I got the config.h file without any error
messages. However, during installation I get this error messages;

*source amber.sh*

*sudo make install*

/usr/bin/ld: cannot find -lgfortran

collect2: ld returned 1 exit status

Makefile_at:47: recipe for target 'cpptraj' failed

make[4]: *** [cpptraj] Error 1

make[4]: Leaving directory
'/home/kanin/Softwares/AMBER16/amber16/AmberTools/src/cpptraj/src'

Makefile_at:20: recipe for target 'serial' failed

make[3]: *** [serial] Error 2

make[3]: Leaving directory
'/home/kanin/Softwares/AMBER16/amber16/AmberTools/src/cpptraj'

Makefile:465: recipe for target 'cpptraj' failed

make[2]: *** [cpptraj] Error 2

make[2]: Leaving directory
'/home/kanin/Softwares/AMBER16/amber16/AmberTools/src'

Makefile:17: recipe for target 'serial' failed

make[1]: *** [serial] Error 2

make[1]: Leaving directory
'/home/kanin/Softwares/AMBER16/amber16/AmberTools/src'

Makefile:7: recipe for target 'install' failed

make: *** [install] Error 2

Any suggestions to solve this problems. Thank you in advance for any
suggestions.


Best Regards,

Kanin Wichapong
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Fri Mar 17 2017 - 09:00:03 PDT
Custom Search