export TVDSVRLAUNCHCMD="ssh -X" export TOTALVIEW="/opt/totalview/bin/totalview"
If you use tcsh, set in your .cshrc:
setenv TVDSVRLAUNCHCMD "ssh -X" setenv TOTALVIEW "/opt/totalview/bin/totalview"
and logout and login to VSC or source the respective file, e.g.: # source $HOME/.bashrc
#!/bin/csh -f changequote(`[', `]') #$ -V #$ -S /bin/csh #$ -N <Job name> #$ -pe mpich 16 #$ -l h_rt=00:30:00 # Do not remove the following: TV_COMMAND # The following removes the temporary script file TV_RM_COMMAND exit
or download it from here.
NOTE: up to 32 processes can be debugged at the same time.
mpif90 -g -O0 -o my_prog_openmpi_wInfi_g.out -shared_intel ./hello_mpi_demo.f
You can download the example program hello_mpi_demo.f.
NOTE: currently only OpenMPI is known to be working. Therefore, before the application is compiled make sure that OpenMPI is selected in your environment with
# mpi-selector --query
You can see the available MPI versions with
# mpi-selector --list
and set a new MPI version with e.g.:
# mpi-selector --set oopenmpi_intel_qlc-1.4
After setting the new environment log out and log in again and compile your application.
# ./remote_display.1.2.0-0/bin/remote_display_client.sh
-M myemail@exmaple.com -m beas