User Tools

Site Tools


howto:liggghts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
howto:liggghts [2018/03/05 13:52]
agill
howto:liggghts [2021/12/09 16:42] (current)
Line 1: Line 1:
 LIGGGHTS and lammps at the CHPC LIGGGHTS and lammps at the CHPC
  
-The LIGGGHTS descreet element method code is now installed at the CHPC, although only limited support is available for them at this point. LIGGGHTS is at /apps/chpc/compmech/DEM/LIGGGHTS. The directory contains a file named liggghts_envThis should be sourced from your submit script before running the executable, for which a symbolic link is provided in the same directory. An example script for lights, parallelized across three nodes (select = 3) with 24 processors per node (ncpus =24:mpiprocs=24) is shown below:+The LIGGGHTS descreet element method code is installed at the CHPC, although only limited support is available for them at this point. LIGGGHTS version 3.8 is at /apps/chpc/compmech/DEM/LIGGGHTS-3.8, but you can access it by loading the module: 
 +<code>module add chpc/compmech/LIGGGHTS/3.8_gcc830</code> 
 +At present this does not support VTK output, though this will be corrected in the near future. 
 +A module for the older version 3.6 is also available. 
 + 
 +An example script for lights, parallelized across three nodes (select = 3) with 24 processors per node (ncpus =24:mpiprocs=24) is shown below:
  
 <file bash liggghts.qsub> <file bash liggghts.qsub>
Line 9: Line 14:
   #PBS -q normal   #PBS -q normal
   #PBS -l walltime=01:00:00   #PBS -l walltime=01:00:00
-  #PBS -o /home/username/scratch/foamJobs/job01/stdout +  #PBS -o /mnt/lustre3p/users/username/liggghtsJobs/job01/stdout 
-  #PBS -e /home/username/scratch/foamJobs/job01/stderr+  #PBS -e /mnt/lustre3p/users/username/liggghtsJobs/job01/stderr
   #PBS -m abe   #PBS -m abe
   #PBS -M username@email.co.za   #PBS -M username@email.co.za
-  ### Source the LIGGGHTS environment: +  ### load the LIGGGHTS module 
-  . /apps/chpc/compmech/DEM/LIGGGHTS/liggghts_env+  module add chpc/compmech/LIGGGHTS/3.8_gcc830
   ##### Running commands   ##### Running commands
   # The -d option used with moab no longer works.  Set this environment variable explicitly.   # The -d option used with moab no longer works.  Set this environment variable explicitly.
-  export PBS_JOBDIR=/home/username/liggghtsJobs/job01+  export PBS_JOBDIR=/mnt/lustre3p/users/username/liggghtsJobs/job01
   # Explicitly change to the job directory   # Explicitly change to the job directory
   cd $PBS_JOBDIR   cd $PBS_JOBDIR
/app/dokuwiki/data/attic/howto/liggghts.1520250770.txt.gz · Last modified: 2021/12/09 16:42 (external edit)