Open main menu

Changes

Installation linux

1,060 bytes added, 16:08, 11 September 2013
where N is the number of slaves you have. See the mpirun documentation for details - this is not part of relax. <br>
This code runs in the GUI, the script UI and the prompt UI, i.e. everywhere.
 
== Helper start scripts ==
If you have several versions or development branches of relax installed, you could probably use some of these scripts, and put them in your PATH.
=== Script for force running the disp branch of relax on the computer haddock ===
This script exemplifies a setup, where the above installation requirements is met on one server computer ''haddock'', and where satellite computers
are forced to run on this computer.
 
The file '''relax_disp''' is made executable, and put in a PATH, known by all satellite computers.
<source lang="bash">
#!/bin/tcsh -f
 
# Set the lax version used for this script.
set RELAX=/network_drive/software_user/software/NMR-relax/relax_disp/relax
 
# Remove env set to wrong library files.
unsetenv LD_LIBRARY_PATH
 
# Check machine, since only machine haddock have correct packages installed.
if ( $HOST != "haddock") then
echo "You have to run on haddock. I do it for you"
ssh haddock -Y -t "cd $PWD; unsetenv LD_LIBRARY_PATH; $RELAX $argv; /bin/tcsh"
else
$RELAX $argv
endif
</source>
== TEST INSTALLATION ==
Trusted, Bureaucrats
1,382

edits