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

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

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, 11 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-sh
add small script that set OpenAD environment variables to use Patrick's
 OpenAD installation on baudelaire

1 #! /usr/bin/env bash
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=sh > setenv.tmp~
16 tmp_file="/tmp/setenv_OpenAD.$$"
17 #echo $tmp_file
18 /scratch/heimbach/OpenAD/tools/setenv/setenv.py --shell=sh > $tmp_file
19 if [ $? -ne 0 ]
20 then
21 echo "Error executing ./tools/setenv/setenv.py --shell=sh > $tmp_file"
22 else
23 source $tmp_file
24 if [ $? -ne 0 ]
25 then
26 echo "Error executing source $tmp_file"
27 else
28 rm -f $tmp_file
29 fi
30 fi

  ViewVC Help
Powered by ViewVC 1.1.22