1 | #$Id: .palm.config.aurora 4370 2020-01-10 14:00:44Z hellstea $ |
---|
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 |
---|
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 |
---|
17 | %make_options -j 4 |
---|
18 | %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 |
---|
19 | %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 |
---|
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-3 -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 | # |
---|
32 | #---------------------------------------------------------------------------- |
---|
33 | # ERROR-commands - executed when program terminates abnormally |
---|
34 | #---------------------------------------------------------------------------- |
---|
35 | EC:[[ \$locat = execution ]] && cat RUN_CONTROL |
---|
36 | EC:[[ \$locat = execution ]] && cat PARTICLE_INFOS/* |
---|
37 | # |
---|
38 | #---------------------------------------------------------------------------- |
---|
39 | # OUTPUT-commands - executed when program terminates normally |
---|
40 | #---------------------------------------------------------------------------- |
---|
41 | # |
---|
42 | # Combine 1D- and 3D-profile output (these files are not usable for plotting) |
---|
43 | OC:[[ -f LIST_PROFIL_1D ]] && cat LIST_PROFIL_1D >> LIST_PROFILE |
---|
44 | OC:[[ -f LIST_PROFIL ]] && cat LIST_PROFIL >> LIST_PROFILE |
---|
45 | # |
---|
46 | # Combine all particle information files |
---|
47 | OC:[[ -f PARTICLE_INFOS/_0000 ]] && cat PARTICLE_INFOS/* >> PARTICLE_INFO |
---|
48 | # |
---|
49 | # BATCH-directives to be used for batch jobs. |
---|
50 | # ATTENTION: The batch following batch directives still need to be adjusted for the |
---|
51 | # NEC Aurora system!!!!!!!!!!!!!! |
---|
52 | BD:#!/bin/bash |
---|
53 | BD:#PBS -N {{run_id}} |
---|
54 | BD:#PBS -l walltime={{cpu_hours}}:{{cpu_minutes}}:{{cpu_seconds}} |
---|
55 | BD:#PBS -l ncpus={{cores}} |
---|
56 | BD:#PBS -l nodes={{nodes}}:ppn={{tasks_per_node}} |
---|
57 | BD:#PBS -l mem={{memory}}mb |
---|
58 | BD:#PBS -W x=PARTITION:lena |
---|
59 | BD:#PBS -o {{job_protocol_file}} |
---|
60 | BD:#PBS -j oe |
---|
61 | BD:#PBS -q {{queue}} |
---|