Skip to content
NAISS Logo Allocations Support Training Software naiss.se

Schrodinger

Using Schrödinger on Arrhenius

Use the module avail Schrodinger command to find available Schrödinger installations:

[username@arrhenius1 ~]$ module avail Schrodinger

----------------------------------- CPU partition (epyc9005) modules ------------------------------------
   Schrodinger/recommendation (D)    Schrodinger/2026-3-bdist

  Where:
   D:  Default Module

Starting jobs from Maestro

Note

NAISS recommends using ThinLinc when running graphical applications.

[torbenr@arrhenius3 ~]$ module load Schrodinger/2026-3-bdist
[torbenr@arrhenius3 ~]$ maestro

You are included in the following projects:
1. naiss2025-22-395-cpu
2. naiss2026-3-674-cpu
3. naiss2026-3-953-cpu
Enter the number for the project that you want to use for jobs submitted from maestro [ 1 2 3 ]: 3
Using the project: naiss2026-3-953-cpu

**************************************************************
Maestro Molecular Modeling Interface
Maestro is a product of Schrödinger, Inc.
Legal notices can be viewed by clicking Help->About Maestro
**************************************************************

Maestro job submit

Starting Jaguar jobs from the command line

To start a Jaguar job from the command line, you can use the jaguar run command as in the example below:

$ module load Schrodinger/2026-3-bdist
$ jaguar run -PARALLEL 8 -HOST batch -QARGS "-A naiss202X-Y-ZZ-cpu -t 120" jag_input_file.in

This command will queue an 8 core (-PARALLEL 8) job with a wall time of 120 minutes.

Note

Remember to change "naiss202X-Y-ZZ-cpu" to the name of the project that you want to use. Or if you are only included in one project, you can remove "-A naiss202X-Y-ZZ-cpu" from the command!

Running Jaguar jobs with a batch script

To run a Jaguar job with a batch script, you can use the jaguar run command as in the example below:

$ cat my_jaguar_script.sh
#!/bin/bash

#SBATCH --time=120
#SBATCH --nodes=1
#SBATCH --ntasks=8
#SBATCH --account=naiss202X-Y-ZZ-cpu

module load Schrodinger/2026-3-bdist

export TMPDIR=/scratch/local

jaguar run -PARALLEL ${SLURM_NTASKS} -WAIT jag_input_file.in &
wait
#END OF SCRIPT

Submit the script to the queue with:

$ sbatch my_jaguar_script.sh

Note

Remember to change "naiss202X-Y-ZZ-cpu" to the name of the project that you want to use. Or if you are only included in one project, you can remove #SBATCH --account=naiss202X-Y-ZZ-cpu from the script.

If you are unsure about the run-time for your job, you can safeguard with a trap to copy the restart.in file to your job directory, in case the job hasn’t completed before reaching the scheduled wall time limit:

$ cat my_jaguar_script_w_trap.sh
#!/bin/bash

#SBATCH --time=120
#SBATCH --nodes=1
#SBATCH --ntasks=8
#SBATCH --account=naiss202X-Y-ZZ-cpu

cp_restart() {
    restart_file=$(find /scratch/local -name restart.in)
    if [ "$restart_file" ]
    then
        cp $restart_file ${SLURM_SUBMIT_DIR}/restart-${jobname}.in
        echo "The restart.in file was copied to ${SLURM_SUBMIT_DIR}/restart-${jobname}.in."
    else
        echo "No restart.in file found."
    fi
}

trap_message="SIGTERM was traped, probably due to job walltime limit."

trap 'echo "$trap_message"; cp_restart; exit' SIGTERM

module load Schrodinger/2026-3-bdist

export TMPDIR=/scratch/local

jobname="jaguar_input_file"

jaguar run -PARALLEL ${SLURM_NTASKS} -WAIT ${jobname}.in &
wait
#END OF SCRIPT

Note

Remember to change "naiss202X-Y-ZZ-cpu" to the name of the project that you want to use. Or if you are only included in one project, you can remove #SBATCH --account=naiss202X-Y-ZZ-cpu from the script.