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