Changeset 179 for palm


Ignore:
Timestamp:
Jul 16, 2008 11:47:48 AM (16 years ago)
Author:
raasch
Message:

preliminary adjustments for HLRN-2 system

Location:
palm/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/mrun

    r172 r179  
    147147     #                     adjustments for lcxt4 (Bergen Center for Computational
    148148     #                     Science)
     149     # 14/07/08 - Siggi  - adjustments for lcsgih
    149150 
    150151    # VARIABLENVEREINBARUNGEN + DEFAULTWERTE
     
    18251826 lopts="$lopts $netcdf_lib $dvrp_lib"
    18261827 ROPTS="$ropts"
    1827  if [[ ( $(echo $host | cut -c1-3) = nec  ||  $(echo $host | cut -c1-3) = ibm  ||  $host = lctit  ||  $host = lcfimm  ||  $host = lcxt4 )  &&  -n $numprocs ]]
     1828 if [[ ( $(echo $host | cut -c1-3) = nec  ||  $(echo $host | cut -c1-3) = ibm  ||  $host = lcsgih  ||  $host = lcsgib  ||  $host = lctit  ||  $host = lcfimm  ||  $host = lcxt4 )  &&  -n $numprocs ]]
    18281829 then
    18291830    XOPT="-X $numprocs"
     
    27542755                # COPY HOSTFILE FROM SOURCE DIRECTORY OR CREATE IT, IF IT
    27552756                # DOES NOT EXIST
    2756              if [[ -f $hostfile ]]
    2757              then
    2758                 cp  $hostfile  hostfile
    2759              else
    2760                 (( ii = 1 ))
    2761                 while (( ii <= $numprocs / $threads_per_task ))
    2762                 do
    2763                    echo  $localhost_realname  >>  hostfile
    2764                    (( ii = ii + 1 ))
    2765                 done
    2766              fi
     2757             if [[ $host != lcsgih  &&  $host != lcsgib ]]
     2758             then
     2759                if [[ -f $hostfile ]]
     2760                then
     2761                   cp  $hostfile  hostfile
     2762                else
     2763                   (( ii = 1 ))
     2764                   while (( ii <= $numprocs / $threads_per_task ))
     2765                   do
     2766                      echo  $localhost_realname  >>  hostfile
     2767                      (( ii = ii + 1 ))
     2768                   done
     2769                fi
     2770                eval zeile=\"`head -n $ii  hostfile`\"
     2771                printf "\n  *** running on: $zeile"
     2772             fi
     2773
    27672774             (( ii = $numprocs / $threads_per_task ))
    2768              eval zeile=\"`head -n $ii  hostfile`\"
    2769              printf "\n  *** running on: $zeile"
    27702775             export OMP_NUM_THREADS=$threads_per_task
     2776             echo "OMP_NUM_THREADS=$OMP_NUM_THREADS"
    27712777             if [[ $threads_per_task != 1 ]]
    27722778             then
     
    27762782             then
    27772783                printf "\n\n"
    2778                 if [[ $host = lcxt4 ]]
     2784                if [[ $host = lcsgih  ||  $host = lcsgib ]]
     2785                then
     2786                   echo "  --- Content of \$PBS_NODEFILE:"
     2787                   cat $PBS_NODEFILE
     2788                   echo "  --- end content"
     2789                   mpirun -machinefile $PBS_NODEFILE -np $ii  a.out  $ROPTS
     2790                elif [[ $host = lcxt4 ]]
    27792791                then
    27802792                   aprun  -n $ii  -N $tasks_per_node  a.out  $ROPTS
  • palm/trunk/SCRIPTS/subjob

    r169 r179  
    9292     # 15/05/08 - Siggi - adjustments for lcxt4 (Bergen Center for Computational
    9393     #                    Science)
     94     # 14/07/08 - Siggi - adjustments for lcsgih
    9495
    9596
     
    171172     (hexagon.bccs.uib.no)   local_addres=129.177.20.113; local_host=lcxt4;;
    172173     (hreg*-en0|hanni*-en0)  local_addres=130.75.4.10;    local_host=ibmh;;
     174     (h01*)                  local_addres=10.152.0.7;     local_host=lcsgih;;
    173175     (irifi)                 local_addres=130.75.105.104; local_host=lcmuk;;
    174176     (levanto)               local_addres=130.75.105.45;  local_host=lcmuk;;
     
    180182     (quanero)               local_addres=130.75.105.107; local_host=lcmuk;;
    181183     (scirocco)              local_addres=172.20.25.41;   local_host=lcmuk;;
     184     (service100)            local_addres=10.152.0.7;     local_host=lcsgih;;
    182185     (sun1|sun2)             local_addres=130.75.6.1;     local_host=unics;;
     186     (r1*)                   local_addres=10.152.0.7;     local_host=lcsgih;;
    183187     (tgg*)                  local_addres=172.17.75.161;  local_host=lctit;;
    184188     (vorias)                local_addres=172.20.25.43;   local_host=lcmuk;;
     
    306310        (ibmy)   queue=parallel; remote_addres=165.132.26.58; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;
    307311        (lcfimm) remote_addres=172.20.4.2; submcom=/opt/torque/bin/qsub;;
     312        (lcsgih) remote_addres=10.152.0.7; submcom=/opt/moab/bin/msub;;
    308313        (lctit)  queue=lctit; remote_addres=172.17.75.161; submcom=/n1ge/TITECH_GRID/tools/bin/n1ge;;
    309314        (lcxt4)  remote_addres=129.177.20.113; submcom=/opt/torque/2.3.0/bin/qsub;;
     
    661666    fi
    662667
     668 elif [[ $remote_host = lcsgih ]]
     669 then
     670
     671    if [[ $numprocs != 0 ]]
     672    then
     673       cat > $job_to_send << %%END%%
     674#PBS -S /bin/bash
     675#PBS -N $job_name
     676#PBS -l walltime=$timestring
     677#PBS -l nodes=$nodes:ppn=${tasks_per_node}:xe
     678#PBS -l naccesspolicy=singlejob
     679#PBS -o $remote_dayfile
     680#PBS -j oe
     681
     682. /usr/share/modules/init/bash
     683module load mvapich/mvapich-0.9.9-intel
     684module load netcdf
     685export LD_LIBRARY_PATH=/sw/intel/fce/10.1.015/lib:/sw/dataformats/netcdf/3.6.2/lib:$LD_LIBRARY_PATH
     686
     687echo ld_library_path=$LD_LIBRARY_PATH
     688
     689%%END%%
     690
     691    else
     692       cat > $job_to_send << %%END%%
     693#PBS -S /bin/bash
     694#PBS -N $job_name
     695#PBS -l walltime=$timestring
     696#PBS -l ncpus=1
     697#PBS -o $remote_dayfile
     698#PBS -e $remote_dayfile
     699
     700%%END%%
     701
     702    fi
     703
    663704 elif [[ $remote_host = lcxt4 ]]
    664705 then
  • palm/trunk/SOURCE/CURRENT_MODIFICATIONS

    r177 r179  
    106106Bugfix: a stop command was missing in some cases of the parallel branch (local_stop)
    107107Bugfix in volume flow control for non-cyclic boundary conditions (pres)
     108Bugfix: misplaced #endif directives (combine_plot_fields)
    108109
    109110
  • palm/trunk/UTIL/combine_plot_fields.f90

    r139 r179  
    44! Actual revisions:
    55! -----------------
    6 !
     6! Bugfix: three misplaced #endif directives
    77!
    88! Former revisions:
     
    298298             ENDDO   ! av = 0, 1
    299299
    300           ENDIF
    301 #endif
     300#endif
     301          ENDIF
    302302
    303303!
     
    420420                ENDIF
    421421
    422              ENDIF
    423 #endif
     422#endif
     423             ENDIF
    424424
    425425          ENDDO
     
    608608          ENDDO    ! av=0,1
    609609
     610#endif
    610611       ENDIF
    611 #endif
    612612
    613613!
     
    736736       INTEGER, INTENT(IN) ::  errno
    737737
     738#if defined( __netcdf )
    738739       IF ( nc_stat /= NF90_NOERR )  THEN
    739740          PRINT*, '+++ combine_plot_fields  netcdf: ', av, errno, &
    740741                  TRIM( nf90_strerror( nc_stat ) )
    741742       ENDIF
     743#endif
    742744
    743745    END SUBROUTINE handle_netcdf_error
Note: See TracChangeset for help on using the changeset viewer.