Last change
on this file since 1677 was
1677,
checked in by aclsce, 13 years ago
|
Imported oasis3 (tag ipslcm5a) from cvs server to svn server (igcmg project).
|
File size:
1.4 KB
|
Line | |
---|
1 | ############### Site and OS dependent specifications ########################### |
---|
2 | # |
---|
3 | # brodie : part of name of header file |
---|
4 | # NODE : where the model is compiled |
---|
5 | |
---|
6 | if [ ${NODE} != brodie ]; then |
---|
7 | echo ' The OS/Site dependent specifications are not for this machine.' |
---|
8 | echo ' Node name of this machine:' ${NODE} |
---|
9 | echo ' Script setup is for use on a brodie node (cross compiling for SX)' |
---|
10 | if [ "$MAKETARGET" != "tar" ]; then |
---|
11 | echo ' The task is stopped!' |
---|
12 | exit 1 |
---|
13 | fi |
---|
14 | fi |
---|
15 | |
---|
16 | if [ "$MAKETARGET" = "lib" ]; then |
---|
17 | echo ' ' |
---|
18 | echo 'No executable will be created. ' |
---|
19 | fi |
---|
20 | export ARCH=SX |
---|
21 | export BLDROOT=$SRCROOT/$ARCH |
---|
22 | |
---|
23 | set +u |
---|
24 | if [[ -z "$LD_LIBRARY_PATH0" ]]; then |
---|
25 | LD_LIBRARY_PATH0="" |
---|
26 | fi |
---|
27 | set -u |
---|
28 | |
---|
29 | export MPI_INCLUDE=./ |
---|
30 | |
---|
31 | export NETCDFROOT=/SXlocal/pub/netCDF/netCDF-3.6.1 |
---|
32 | export NETCDF_LIB="-L${NETCDFROOT}/lib -lnetcdf" |
---|
33 | export NETCDF_INCLUDE=${NETCDFROOT}/include |
---|
34 | |
---|
35 | export LIB1=" -llapack -lblas " |
---|
36 | |
---|
37 | export SYS_INCLUDE=./ |
---|
38 | |
---|
39 | if [ "$MAKETARGET" = "all" ] || [ "$MAKETARGET" = "lib" ]; then |
---|
40 | echo ' ' |
---|
41 | echo 'Compiler revision :' |
---|
42 | echo ` /SX/usr/bin/sxf90 -V ` |
---|
43 | fi |
---|
44 | |
---|
45 | export F90com=/SX/usr/bin/sxmpif90 |
---|
46 | export f90com=${F90com} |
---|
47 | export Fcom=${F90com} |
---|
48 | export fcom=${F90com} |
---|
49 | |
---|
50 | export cc=/SX/usr/bin/sxmpic++ |
---|
51 | export ar=/SX/usr/bin/sxar |
---|
52 | export as="sxas" |
---|
53 | export cp=cp |
---|
54 | |
---|
55 | PATH=$SRCROOT/util:$PATH |
---|
56 | |
---|
57 | alias make="gmake" |
---|
58 | |
---|
Note: See
TracBrowser
for help on using the repository browser.