Skip to content

Commit

Permalink
add call to manage_externals/checkout_externals
Browse files Browse the repository at this point in the history
  • Loading branch information
bertinia committed Jan 7, 2019
1 parent 77aae84 commit a4090f7
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions create_python_env
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function Usage {
echo ""
echo " This script sets up the python virtual environment (env) for a given supported machine."
echo " This script executes the following steps:"
echo " - loads the python modules for this machine necessary to boot-strap the env"
echo " - clones the NCAR Python Library (NPL) for this machine necessary to boot-strap the env"
echo " - make env"
echo " - activate env"
echo " - install post-processing tools into the env"
Expand Down Expand Up @@ -152,23 +152,15 @@ and rerun this script."
exit 0
fi

#----------------------------------------------------------------------
# install the external tools via the manage_externals/checkout_externals
#----------------------------------------------------------------------
./manage_externals/checkout_externals

curdir=`pwd`
echo $curdir
cd $pp_dir

#----------------------------------------------------------------------
# create the virtual environment. Makefile checks to see if it is
# already setup, so only done once per case.
#----------------------------------------------------------------------
##echo "$progname - making virtual environment in ${pp_dir}/cesm-env2."
##if [ ${machine} != geyser ]; then
## make env
## if [ $? -ne 0 ]; then
## echo "ERROR: Unable to create virtual environment in ${pp_dir}/cesm-env2. Exiting..."
## exit 1
## fi
##fi

#----------------------------------------------------------------------
# activate virtualenv for remainder of this script
#----------------------------------------------------------------------
Expand Down

0 comments on commit a4090f7

Please sign in to comment.