How to compile DOCK: Difference between revisions
Jump to navigation
Jump to search
m (bugfix) |
(Change to subversion) |
||
Line 1: | Line 1: | ||
'''Checking out the source files''' | '''Checking out the source files''' | ||
Commands: | |||
csh | csh | ||
mkdir /where/to/put | mkdir /where/to/put | ||
cd /where/to/put | cd /where/to/put | ||
svn checkout file:///raid4/svn/dock | |||
svn checkout file:///raid4/svn/libfgz | |||
'''Compiling the program''' | '''Compiling the program on our cluster''' | ||
Commands: | |||
cd /where/to/put/libfgz/trunk | |||
make | |||
cd ../../dock/trunk/i386 | |||
make | |||
'''Compiling the program on the shared QB3 cluster''' | |||
On one of the compilation nodes on the shared QB3 cluster (optint1 or optint2): | |||
ssh optint2 | ssh optint2 | ||
cd /where/to/put/ | cd /where/to/put/libfgz/trunk | ||
cp Makefile Makefile.old | cp Makefile Makefile.old | ||
modify Makefile: | modify Makefile: | ||
uncomment the following: | uncomment the following: | ||
FC = ifort -O3 | FC = ifort -O3 | ||
CC = icc -O3 | CC = icc -O3 | ||
make | make | ||
cd ../dock/i386 | cd ../../dock/trunk/i386 | ||
cp Makefile Makefile.old | cp Makefile Makefile.old | ||
modify Makefile | modify Makefile | ||
uncomment the following: | uncomment the following: | ||
F77 = ifort | F77 = ifort | ||
FFLAGS = -O3 -convert big_endian | FFLAGS = -O3 -convert big_endian | ||
make | make dock | ||
[[Category:Tutorials]] | [[Category:Tutorials]] |
Revision as of 01:14, 5 December 2009
Checking out the source files
Commands:
csh mkdir /where/to/put cd /where/to/put svn checkout file:///raid4/svn/dock svn checkout file:///raid4/svn/libfgz
Compiling the program on our cluster
Commands:
cd /where/to/put/libfgz/trunk make cd ../../dock/trunk/i386 make
Compiling the program on the shared QB3 cluster
On one of the compilation nodes on the shared QB3 cluster (optint1 or optint2):
ssh optint2 cd /where/to/put/libfgz/trunk cp Makefile Makefile.old modify Makefile: uncomment the following: FC = ifort -O3 CC = icc -O3 make cd ../../dock/trunk/i386 cp Makefile Makefile.old modify Makefile uncomment the following: F77 = ifort FFLAGS = -O3 -convert big_endian make dock