/[MITgcm]/MITgcm/tools/example_scripts/csail/setenv_OpenAD.csh
ViewVC logotype

Contents of /MITgcm/tools/example_scripts/csail/setenv_OpenAD.csh

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Thu Jul 17 23:11:50 2014 UTC (9 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, checkpoint65, HEAD
File MIME type: application/x-csh
add small script that set OpenAD environment variables to use Patrick's
 OpenAD installation on baudelaire

1 #!/bin/csh
2 #
3 # $Header: $
4 # $Name: $
5
6 ##########################################################
7 # This file is part of OpenAD released under the LGPL. #
8 # The full COPYRIGHT notice can be found in the top #
9 # level directory of the OpenAD distribution #
10 ##########################################################
11
12 # this set some env. vars such as "OPENADROOT"
13 # (needed to generate and use Makefile)
14
15 #./tools/setenv/setenv.py --shell=csh > setenv.tmp~
16 set tmp_file="/tmp/setenv_OpenAD.$$"
17 #echo $tmp_file
18 /scratch/heimbach/OpenAD/tools/setenv/setenv.py --shell=csh > $tmp_file
19 if ( $status != 0 ) then
20 echo "Error executing: ./tools/setenv/setenv.py --shell=csh > $tmp_file"
21 else
22 source $tmp_file
23 if ( $status != 0 ) then
24 echo "Error executing: source $tmp_file"
25 else
26 rm -f $tmp_file
27 endif
28 endif

  ViewVC Help
Powered by ViewVC 1.1.22