Changes between Version 2 and Version 3 of doc/app/machine/hlrnII
- Timestamp:
- Nov 29, 2010 10:34:11 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
doc/app/machine/hlrnII
v2 v3 1 1 = Hints for using the SGI-Altix at HLRN = 2 2 3 * How to use the totalview-debugger on hicegate and bicegate3 * How to use the '''totalview'''-debugger on hicegate and bicegate 4 4 5 Starting from Rev 223, PALM allows using of the totalview-debugger on hice and bice. 5 == How to use the '''totalview'''-debugger on hicegate and bicegate == 6 7 Starting from Rev 223, PALM allows using of the '''totalview'''-debugger on hicegate and bicegate. 6 8 The following gives a brief instruction: 7 9 8 1.) 9 Add an additional block "lcsgih parallel debug" in the mrun configuration file 10 (.mrun.config): 10 1. Add an additional block {{{"lcsgih parallel debug"}}} in the '''mrun''' configuration file ({{{.mrun.config}}}) which has to contain a line: 11 {{{ 12 %totalview true lcsgih parallel debug 13 }}} 14 totalview should work with the mpt but also with the mvapich library. 11 15 12 %totalview true lcsgih parallel debug 16 2. Copy {{{.mrun.config}}} into directory {{{~/palm/current_version}}} on hicegate/bicegate. Also copy parameter-file and other files required for the run to the respective subdirectories under {{{~/palm/current_version}}} (e.g. {{{JOBS/...}}}). 13 17 14 Use mpt-MPI-version (mvapich should also work): 18 3. Log in on hicegate/bicegate (it is essential to use "{{{-X}}}" as ssh-option !!) and execute the following commands (for a debug-run with 4 cores on one node): 19 {{{ 20 msub -I -X -l nodes=1:ppn=4 -l walltime=1000 -q testq 21 # starts a so-called interactive job 22 module load intel.compiler 23 module load mpt # or other mpi-version 24 module load netcdf 25 module load totalview 15 26 16 %mpilib mpt lcsgih parallel debug 17 %compiler_name ifort lcsgih parallel debug 27 mrun -d .... 28 # usual mrun-call, options as required by user, but WITHOUT option -h 29 # values given for -X and -T options must match the msub settings, 30 # e.g. in this case "-X4 -T4" 31 }}} 32 After short time, the '''totalview'''-window should open (if testq is filled with other jobs, you may have to wait for a longer time). 18 33 19 and include library option "-lmpi" within the %lopts settings.34 4. After closing the '''totalview''' window, don't forget to leave the interactive job with "{{{exit}}}" command. 20 35 21 2.) 22 Copy .mrun.config into directory ~/palm/current_version on hicegate. 23 Also copy parameter-file and other files required for the run to the respective 24 subdirectories under ~/palm/current_version (e.g. JOBS/...). 36 The ISV online documentation server https://www.hlrn.de/doc/ serves the documentation for '''totalview''' 8.6.1-1 (see the Online Documentation Overview https://www.hlrn.de/home/view/System/DocumentationOverview for access information). 25 37 26 3.) 27 Log in on hicegate (it is essential to use "-X" as ssh-option !!) and 28 execuute following commands (for a debug-run with 4 cores on one node): 29 30 qsub -I -X -l nodes=1:ppn=4 -l walltime=1000 -q testq 31 # starts a so-called interactive job 32 33 module load mpt # or other mpi-version 34 module load netcdf 35 module load totalview 36 37 mrun -d .... 38 # usual mrun-call, options as required by user, but WITHOUT option -h 39 # values given for -X and -T options must match the qsub settings, 40 # e.g. in this case "-X4 -T4" 41 42 After short time, the totalview-window should open (if testq is filled with other 43 jobs, you may have to wait for a longer time). 44 45 4.) 46 After closing the totalview window, leave the interactive job with "exit". 47 48 The following links lead to the totalview-online-documentation: 49 50 The ISV online documentation server 51 https://www.hlrn.de/doc/ 52 now also serves the documentation for TotalView 8.6.1-1 53 (see the Online Documentation Overview 54 https://www.hlrn.de/home/view/System/DocumentationOverview 55 for access information). 56 57 Please also follow the second link, because only this provides you 58 with access information (username, password) for the online documentation! 38 Please also follow the second link, because only this provides you with access information (username, password) for the online documentation!