Open main menu

Changes

Run relax at Google Cloud Computing

198 bytes removed, 12:47, 27 October 2017
Switch to the {{relax source}} and {{relax url}} templates for the code URLs.
See the list of deploy scripts here
* http://svn.gna.org/viewcvs/{{relax/trunk/url|path=devel_scripts/deploy_scripts/}}
Then download the script that matches the system.
<{{#tag: source lang="bash">|
# Select a version script
# Redhat Version 6
# Then set download URL
URL=http://svn.gna.org/viewcvs/*checkout*/{{relax/trunk/url|path=devel_scripts/deploy_scripts/$VERS|view=raw}}
# Download and readl
sudo yum -y install wget
wget $URL$VERSmv $VERS* $VERS
cat $VERS
# Do installation
installandcheck
</source>| lang="bash"}}
For BASH shell<br>
[http://svn.gna.org/viewcvs/*checkout*/{{relax/trunk/source|path=devel_scripts/openmpi_test_install_bash.sh?content-type|view=raw|text%2Fplain =See the script here]}}<{{#tag: source lang="bash">|URL=http://svn.gna.org/viewcvs/*checkout*/{{relax/trunk/url|path=devel_scripts/openmpi_test_install_bash.sh|view=raw}}
wget $URL
mv openmpi_test_install_bash.sh* openmpi_test_install_bash.sh
# Source functions
source openmpi_test_install_bash.sh
testopenmpi
</source>| lang="bash"}}
For TCSH shell<br>
[http://svn.gna.org/viewcvs/*checkout*/{{relax/trunk/source|path=devel_scripts/openmpi_test_install_tcsh.sh?content-type|view=raw|text%2Fplain =See the script here]}}<{{#tag: source lang="bash">|alias get 'set noglob; wget http:{{relax url|path=devel_scripts//svnopenmpi_test_install_tcsh.gnash|view=raw}}; mv openmpi_test_install_tcsh.org/viewcvs/sh*checkout*/relax/trunk/devel_scripts/openmpi_test_install_tcsh.sh;unset noglob'
get
# Source functions
source openmpi_test_install_tcsh.sh
</source>| lang="bash"}} 
==Transfer files back and forth to the server==
This follows some example data from the tutorial here [[Tutorial_for_sorting_data_stored_as_numpy_to_on-resonance_R1rho_analysis|Tutorial for sorting data stored as numpy to on resonance R1rho_analysis]]
[http://svn.gna.org/viewcvs/{{relax/trunk/source|path=test_suite/shared_data/dispersion/Paul_Schanda_2015_Nov |text=Overview of directory]}}
Copy data to local dir
[http://svn.gna.org/viewcvs/*checkout*/{{relax/trunk/source|path=test_suite/shared_data/dispersion/Paul_Schanda_2015_Nov/1_tutorial_prepare_data.py?content-type|text=text%2Fplain Prepare data]}}
{{#tag:source|
cat 1_tutorial_prepare_data.py
}}
[http://svn.gna.org/viewcvs/*checkout*/{{relax/trunk/source|path=test_suite/shared_data/dispersion/Paul_Schanda_2015_Nov/2_tutorial_load_data.py?revision|text=28131&content-type=text%2Fplain Run analysis]}}
{{#tag:source|
cat 2_tutorial_load_data.py
}}
[http://svn.gna.org/viewcvs/*checkout*/{{relax/trunk/source|path=test_suite/shared_data/dispersion/Paul_Schanda_2015_Nov/3_tutorial_clustered.py?content-type|text=text%2Fplain Run clustered analysis]}}
{{#tag:source|
Trusted, Bureaucrats
4,228

edits