AMBER Archive (2007)

Subject: RE: Re: AMBER: on PATH

From: Ross Walker (ross_at_rosswalker.co.uk)
Date: Thu Jun 28 2007 - 10:33:20 CDT


Hi Francesco,

> ./configure -static ifort_x86_64
> ./configure: line 1264: config.h: Permission denied

The issue is one of Unix file permissions. I suspect that you don't own the
amber9 directory and all sub files. You have one of two options, either
chown the directory to yourself and then repeat the installation or do the
installation as root - which you tried...

If you run the installation as root you have to make sure that root picks up
all the environment variables etc. Thus it is probably easier to just chown
everything to you.

su -
cd /path_to_amber9/
cd ../
chown -R username amber9 (where username is your username)
exit (quits as root and should be back as your
user)

cd $AMBERHOME/src/
./configure -static ifort_x86_64
make clean
make

If you get ifort not found then make sure you have modified your ~/.bashrc
or ~/.cshrc (depending on your shell) to source
/opt/intel/fce/9.1.036/bin/ifortvars.sh (or .csh if c shell)

All the best
Ross

/\
\/
|\oss Walker

| HPC Consultant and Staff Scientist |
| San Diego Supercomputer Center |
| Tel: +1 858 822 0854 | EMail:- ross_at_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_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu