Index: palm/trunk/SCRIPTS/.mrun.config.cuhk
===================================================================
--- palm/trunk/SCRIPTS/.mrun.config.cuhk	(revision 1446)
+++ palm/trunk/SCRIPTS/.mrun.config.cuhk	(revision 1657)
@@ -1,3 +1,3 @@
-#$Id: .mrun.config.default 1231 2013-09-20 11:25:45Z kanani $
+#$Id: .mrun.config.cuhk 1231 2013-09-20 11:25:45Z knoop $
 #column 1          column 2                                   column 3
 #name of variable  value of variable (~ must not be used)     scope
@@ -22,47 +22,32 @@
 #
 # The next block contains all informations for compiling the PALM code
-# and for generating and running the PALM executable using MPI. Replace all
-# required paths (given in <>) by the respective paths valid on your host.
-# Also replace <hi> by your host identifier (see above <hi> example "lcmy") 
-# in each line!
+# and for generating and running the PALM executable using MPI.
 # Compilernames, cpp-options and compiler-options are assuming
-# an Intel-Compiler and mpich2 on this host! Please change
+# an GNU-Compiler and mpich2 on this host! Please change
 # appropriately, if you are using a different compiler / MPI-Version.
 #
-%tmp_user_catalog  /home/student/tmp                             lccuhk parallel
+# CUHK
+%remote_username   student                                       lccuhk parallel
+%tmp_user_catalog  $HOME/palm/tmp                                lccuhk parallel
 %compiler_name     mpif90                                        lccuhk parallel
-%compiler_name_ser ifort                                         lccuhk parallel
-%cpp_options       -cpp:-D__mpi2:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf   lccuhk parallel
-%netcdf_inc        -I:/opt/netcdf-3.6.3/include                  lccuhk parallel
-%netcdf_lib        -L/opt/netcdf-3.6.3/lib:-lnetcdf              lccuhk parallel
-%mopts             -j:4                                          lccuhk parallel
-%fopts             -xS:-r8:-nbs:-convert:little_endian:-I:/opt/mpich2/include  lccuhk parallel
-%lopts             -xS:-r8:-nbs:-Vaxlib:-L:/opt/mpich2/lib                     lccuhk parallel
-%remote_username    student                                      lccuhk parallel
-# if you want to use your own hostfile, uncomment next line
-#%hostfile          $base_directory/.hostfile                    lccuhk parallel
-# if you want to load modules on the remote host, use the following line
-#%modules           <replace_by_the_modules_to_be_loaded>        lccuhk parallel
-# if you want to perform initial commands on ssh connections, use the following line
-#%login_init_cmd    <replace_by_the_inital_commands>             lccuhk parallel
-#%login_init_cmd    <replace_by_the_inital_commands>             lccuhk parallel
+%compiler_name_ser gfortran                                      lccuhk parallel
+%cpp_options       -cpp:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__lc:-D__netcdf:-D__parallel   lccuhk parallel
+%netcdf_inc        -I:$HOME/opt/netcdf-3.6.3/include             lccuhk parallel
+%netcdf_lib        -L:$HOME/opt/netcdf-3.6.3/lib:-lnetcdf        lccuhk parallel
+%mopts             -j:8                                          lccuhk parallel
+%fopts             -Ofast                                        lccuhk parallel
+%lopts             -Ofast                                        lccuhk parallel
 #
-#
-%tmp_user_catalog  /home/student/tmp                             lccuhk parallel trace
+# CUHK debug/trace mode
+%remote_username   student                                       lccuhk parallel trace
+%tmp_user_catalog  $HOME/palm/tmp                                lccuhk parallel trace
 %compiler_name     mpif90                                        lccuhk parallel trace
-%compiler_name_ser ifort                                         lccuhk parallel trace
-%cpp_options       -cpp:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf   lccuhk parallel trace
-%netcdf_inc        -I:/opt/netcdf-3.6.3/include                  lccuhk parallel trace
-%netcdf_lib        -L/opt/netcdf-3.6.3/lib:-lnetcdf              lccuhk parallel trace
-%mopts             -j:4                                          lccuhk parallel trace
-%fopts             -C:-check:nooutput_conversion:-fpe0:-debug:-traceback:-g:-w:-xT:-O0:-cpp:-r8:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-convert:little_endian  lccuhk parallel trace
-%lopts             -C:-check:nooutput_conversion:-fpe0:-debug:-traceback:-g:-w:-xT:-O0:-cpp:-r8:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-Vaxlib  lccuhk parallel trace
-%remote_username    student                                      lccuhk parallel trace
-# if you want to use your own hostfile, uncomment next line
-#%hostfile          $base_directory/.hostfile                    lccuhk parallel trace
-# if you want to load modules on the remote host, use the following line
-#%modules           <replace_by_the_modules_to_be_loaded>        lccuhk parallel trace
-# if you want to perform initial commands on ssh connections, use the following line
-#%login_init_cmd    <replace_by_the_inital_commands>             lccuhk parallel trace
+%compiler_name_ser gfortran                                      lccuhk parallel trace
+%cpp_options       -cpp:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__lc:-D__netcdf:-D__parallel   lccuhk parallel trace
+%netcdf_inc        -I:$HOME/opt/netcdf-3.6.3/include             lccuhk parallel trace
+%netcdf_lib        -L:$HOME/opt/netcdf-3.6.3/lib:-lnetcdf        lccuhk parallel trace
+%mopts             -j:8                                          lccuhk parallel trace
+%fopts             -O0:-Wall:-fbacktrace                         lccuhk parallel trace
+%lopts             -O0:-Wall:-fbacktrace                         lccuhk parallel trace
 #
 #
