[4370] | 1 | #$Id: .palm.config.aurora_debug 4371 2020-01-10 15:23:52Z pavelkrc $ |
---|
| 2 | #column 1 column 2 |
---|
| 3 | #name of variable value of variable (~ must not be used) |
---|
| 4 | #---------------------------------------------------------------------------- |
---|
| 5 | %base_data ~/palm/current_version/JOBS |
---|
| 6 | %base_directory $HOME/palm/current_version |
---|
| 7 | %fast_io_catalog /scratch/<replace by LUIS username> |
---|
| 8 | %source_path $HOME/palm/current_version/trunk/SOURCE |
---|
| 9 | %user_source_path $base_directory/JOBS/$run_identifier/USER_CODE |
---|
| 10 | %local_jobcatalog $HOME/job_queue |
---|
| 11 | # |
---|
| 12 | %local_ip 130.75.7.130 |
---|
| 13 | %local_username <replace by LUIS username> |
---|
| 14 | %compiler_name mpinfort |
---|
| 15 | %compiler_name_ser mpinfort |
---|
[4371] | 16 | %cpp_options -fpp -D__parallel -D__nec -D__netcdf -D__netcdf4 -D__netcdf4_parallel -D__fftw -DMPI_REAL=MPI_DOUBLE_PRECISION -DMPI_2REAL=MPI_2DOUBLE_PRECISION |
---|
[4370] | 17 | %make_options -j 4 |
---|
| 18 | %compiler_options -O0 -fcheck=all -traceback -ftrace -proginf -report-all -g -Werror -fdiag-vector=0 -I /home/nhbkklau/opt/NetCDF_parallel_nec/include -I /home/nhbkklau/opt/fftw3_nec/include |
---|
| 19 | %linker_options -ftrace -L/home/nhbkklau/opt/NetCDF_parallel_nec/lib -lnetcdff -lnetcdf -Wl,-rpath=/home/nhbkklau/opt/NetCDF_parallel_nec/lib -L/home/nhbkklau/opt/hdf5_parallel_nec/lib -lhdf5 -lhdf5_hl -Wl,-rpath=/home/nhbkklau/opt/hdf5_parallel_nec/lib -L/home/nhbkklau/opt/fftw3_nec/lib -lfftw3 -lmpi |
---|
| 20 | #%hostfile auto |
---|
| 21 | %defaultqueue all |
---|
| 22 | %submit_command /usr/bin/qsub |
---|
| 23 | %memory 2000 |
---|
| 24 | %login_init_cmd source /opt/nec/ve/mpi/2.2.0/bin/necmpivars.sh |
---|
| 25 | %execute_command mpirun -v -ve 0 -np {{mpi_tasks}} ./palm |
---|
| 26 | # |
---|
| 27 | #---------------------------------------------------------------------------- |
---|
| 28 | # INPUT-commands, executed before running PALM - lines must start with "IC:" |
---|
| 29 | #---------------------------------------------------------------------------- |
---|
| 30 | #IC:ulimit -s unlimited |
---|
| 31 | IC:export VE_ERRCTL_DEALLOCATE=ABORT |
---|
| 32 | IC:export VE_FPE_ENABLE=DIV,FOF,INV |
---|
| 33 | IC:export VE_TRACEBACK=ALL |
---|
| 34 | # |
---|
| 35 | #---------------------------------------------------------------------------- |
---|
| 36 | # ERROR-commands - executed when program terminates abnormally |
---|
| 37 | #---------------------------------------------------------------------------- |
---|
| 38 | EC:[[ \$locat = execution ]] && cat RUN_CONTROL |
---|
| 39 | EC:[[ \$locat = execution ]] && cat PARTICLE_INFOS/* |
---|
| 40 | # |
---|
| 41 | #---------------------------------------------------------------------------- |
---|
| 42 | # OUTPUT-commands - executed when program terminates normally |
---|
| 43 | #---------------------------------------------------------------------------- |
---|
| 44 | # |
---|
| 45 | # Combine 1D- and 3D-profile output (these files are not usable for plotting) |
---|
| 46 | OC:[[ -f LIST_PROFIL_1D ]] && cat LIST_PROFIL_1D >> LIST_PROFILE |
---|
| 47 | OC:[[ -f LIST_PROFIL ]] && cat LIST_PROFIL >> LIST_PROFILE |
---|
| 48 | # |
---|
| 49 | # Combine all particle information files |
---|
| 50 | OC:[[ -f PARTICLE_INFOS/_0000 ]] && cat PARTICLE_INFOS/* >> PARTICLE_INFO |
---|
| 51 | # |
---|
| 52 | # BATCH-directives to be used for batch jobs. |
---|
| 53 | # ATTENTION: The batch following batch directives still need to be adjusted for the |
---|
| 54 | # NEC Aurora system!!!!!!!!!!!!!! |
---|
| 55 | BD:#!/bin/bash |
---|
| 56 | BD:#PBS -N {{run_id}} |
---|
| 57 | BD:#PBS -l walltime={{cpu_hours}}:{{cpu_minutes}}:{{cpu_seconds}} |
---|
| 58 | BD:#PBS -l ncpus={{cores}} |
---|
| 59 | BD:#PBS -l nodes={{nodes}}:ppn={{tasks_per_node}} |
---|
| 60 | BD:#PBS -l mem={{memory}}mb |
---|
| 61 | BD:#PBS -W x=PARTITION:lena |
---|
| 62 | BD:#PBS -o {{job_protocol_file}} |
---|
| 63 | BD:#PBS -j oe |
---|
| 64 | BD:#PBS -q {{queue}} |
---|