LAMMPS: Difference between revisions

599 bytes removed ,  6 years ago
Line 117: Line 117:
}}
}}
</tab>
</tab>


<tab name="Script">
<tab name="Script">
{{File
{{File
   |name=run_dalton_job.sh
   |name=run_lmp_serial.sh
   |lang="bash"
   |lang="bash"
   |contents=
   |contents=
#!/bin/bash
#!/bin/bash


#SBATCH --nodes=1
#SBATCH --ntasks=1
#SBATCH --ntasks-per-node=4
#SBATCH --mem-per-cpu=2500M      # memory; default unit is megabytes.
#SBATCH --mem-per-cpu=3500M
#SBATCH --time=0-00:30          # time (DD-HH:MM).
#SBATCH --time=00-30:00


# Load the module:  
# Load the module:


module load nixpkgs/16.09  intel/2016.4  openmpi/2.0.2 dalton/2017-alpha
module load nixpkgs/16.09  intel/2016.4  openmpi/2.1.1 lammps-omp/20170811
 
# Setting the variables:
 
dltonlaun=dalton
dltonexec=dalton.x
daltoninput=dft_rspexci_nosym.dal
daltonmol=H2O_cc-pVDZ_nosym.mol


echo "Starting run at: `date`"
echo "Starting run at: `date`"


echo "Running the example: INPUT=${daltoninput} - Molecule=${daltonmol}"
lmp_exec=lmp_icc_openmpi
lmp_input="lammps.in"
lmp_output="lammps_lj_output.txt"


${dltonlaun} -b ${BASLIB} -N ${SLURM_NTASKS}  -dal ${daltoninput}  -mol ${daltonmol}
${lmp_exec} < ${lmp_input} > ${lmp_output}


echo "Program finished with exit code $? at: `date`"
echo "Program finished with exit code $? at: `date`"
}}
</tab>
<tab name="INPUT">
{{File
  |name=dft_rspexci_nosym.dal
  |lang="txt"
  |contents=
**DALTON INPUT
.RUN RESPONSE
**INTEGRALS
.PROPRINT
**WAVE FUNCTIONS
.DFT
B3LYP
**RESPONSE
*LINEAR
.SINGLE RESIDUE
.ROOTS
3
**END OF DALTON INPUT
}}
</tab>
<tab name="MOLECULE">
{{File
  |name=H2O_cc-pVDZ_nosym.mol
  |lang="txt"
  |contents=
BASIS
cc-pVDZ
H2O
    2    0
        8.    1
O    0.0  0.0000000000 0.0
        1.    2
H1    1.430    0.0  1.1
H2  -1.430    0.0  1.1
}}
}}
</tab>
</tab>
cc_staff
415

edits