24 lines
1.1 KiB
Bash
Executable file
24 lines
1.1 KiB
Bash
Executable file
#!/bin/sh
|
|
#*******************************************************************************
|
|
#
|
|
# This file is part of iBioSim. Please visit <http://www.async.ece.utah.edu/ibiosim>
|
|
# for the latest version of iBioSim.
|
|
#
|
|
# Copyright (C) 2017 University of Utah
|
|
#
|
|
# This library is free software; you can redistribute it and/or modify it
|
|
# under the terms of the Apache License. A copy of the license agreement is provided
|
|
# in the file named "LICENSE.txt" included with this software distribution
|
|
# and also available online at <http://www.async.ece.utah.edu/ibiosim/License>.
|
|
#
|
|
#*******************************************************************************
|
|
scp $1.xml tang.ece.utah.edu:/tmp/.
|
|
scp $1.properties tang.ece.utah.edu:/tmp/.
|
|
ssh tang.ece.utah.edu "setenv LD_LIBRARY_PATH /home/tang/myers/BioSim/lib64;/home/tang/myers/BioSim/bin/reb2sac --target.encoding=$2 /tmp/$1.xml"
|
|
scp tang.ece.utah.edu:"*.tsd" .
|
|
ssh tang.ece.utah.edu "rm *.tsd"
|
|
if [ "scp tang.ece.utah.edu:sim-rep.txt ." ]; then
|
|
echo "No sim-rep.txt file"
|
|
else
|
|
ssh tang.ece.utah.edu "rm sim-rep.txt"
|
|
fi
|