1 | #$Id: .palm.config.aurora 4814 2020-12-09 13:08:08Z forkel $ |
---|
2 | #column 1 column 2 |
---|
3 | #name of variable value of variable (~ must not be used) |
---|
4 | #---------------------------------------------------------------------------- |
---|
5 | %base_directory $HOME/palm/current_version |
---|
6 | %base_data ~/palm/current_version/JOBS |
---|
7 | %source_path $HOME/palm/current_version/trunk/SOURCE |
---|
8 | %user_source_path $base_data/$run_identifier/USER_CODE |
---|
9 | %fast_io_catalog /scratch/<replace by LUIS username> |
---|
10 | %restart_data_path /scratch/<replace by LUIS username> |
---|
11 | %output_data_path $base_data |
---|
12 | %local_jobcatalog $base_data/$run_identifier/LOG_FILES |
---|
13 | |
---|
14 | %local_ip 130.75.7.130 |
---|
15 | %local_username <replace by LUIS username> |
---|
16 | %defaultqueue all |
---|
17 | %submit_command /usr/bin/qsub |
---|
18 | |
---|
19 | %compiler_name mpinfort |
---|
20 | %compiler_name_ser mpinfort |
---|
21 | %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 |
---|
22 | %make_options -j 4 |
---|
23 | %compiler_options -O3 -traceback -finline-functions -g -report-all -Werror -I /home/nhbkklau/opt/NetCDF_parallel_nec/include -I /home/nhbkklau/opt/fftw3_nec/include |
---|
24 | %linker_options -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 |
---|
25 | %execute_command mpirun -v -ve 0-3 -np {{mpi_tasks}} ./palm |
---|
26 | %memory 2000 |
---|
27 | %login_init_cmd source /opt/nec/ve/mpi/2.2.0/bin/necmpivars.sh |
---|
28 | |
---|
29 | # BATCH-directives to be used for batch jobs. |
---|
30 | # ATTENTION: The following batch directives still need to be adjusted for the |
---|
31 | # NEC Aurora system!!!!!!!!!!!!!! |
---|
32 | BD:#!/bin/bash |
---|
33 | #BD:#PBS -A {{project_account}} |
---|
34 | BD:#PBS -N {{run_id}} |
---|
35 | BD:#PBS -l walltime={{cpu_hours}}:{{cpu_minutes}}:{{cpu_seconds}} |
---|
36 | BD:#PBS -l ncpus={{cores}} |
---|
37 | BD:#PBS -l nodes={{nodes}}:ppn={{tasks_per_node}} |
---|
38 | BD:#PBS -l mem={{memory}}mb |
---|
39 | BD:#PBS -W x=PARTITION:lena |
---|
40 | BD:#PBS -o {{job_protocol_file}} |
---|
41 | BD:#PBS -j oe |
---|
42 | BD:#PBS -q {{queue}} |
---|
43 | |
---|
44 | #---------------------------------------------------------------------------- |
---|
45 | # INPUT-commands, executed before running PALM - lines must start with "IC:" |
---|
46 | #---------------------------------------------------------------------------- |
---|
47 | #IC:ulimit -s unlimited |
---|
48 | |
---|
49 | #---------------------------------------------------------------------------- |
---|
50 | # ERROR-commands - executed when program terminates abnormally |
---|
51 | #---------------------------------------------------------------------------- |
---|
52 | EC:[[ \$locat = execution ]] && cat RUN_CONTROL |
---|
53 | EC:[[ \$locat = execution ]] && cat PARTICLE_INFOS/* |
---|
54 | |
---|
55 | #---------------------------------------------------------------------------- |
---|
56 | # OUTPUT-commands - executed when program terminates normally |
---|
57 | #---------------------------------------------------------------------------- |
---|
58 | # Combine 1D- and 3D-profile output (these files are not usable for plotting) |
---|
59 | OC:[[ -f LIST_PROFIL_1D ]] && cat LIST_PROFIL_1D >> LIST_PROFILE |
---|
60 | OC:[[ -f LIST_PROFIL ]] && cat LIST_PROFIL >> LIST_PROFILE |
---|
61 | |
---|
62 | # Combine all particle information files |
---|
63 | OC:[[ -f PARTICLE_INFOS/_0000 ]] && cat PARTICLE_INFOS/* >> PARTICLE_INFO |
---|