Skip to content

Conversation

@cgbriggs99
Copy link
Contributor

Update software versions and fix an issue with the ORCA format string where {} is treated like it needs an argument.

Update software versions and fix an issue with the ORCA format string where `{}` is treated like it needs an argument.
mpirun -n $NSLOTS apptainer exec /work/jttlab/containers/molpro_mpipr.sif \
molpro.exe input.dat --output $SLURM_SUBMIT_DIR/output.dat --nouse-logfile --directory $SCRATCH_DIR
singularity run /work/jttlab/containers/molpro-2024.1.1-mpi-gapr.sif -n $NSLOTS input.dat --output $SLURM_SUBMIT_DIR/output.dat --nouse-logfile --directory $SCRATCH_DIR
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How much has this submit script been tested? I didn't have good luck with the runscript on Sapelo previously - it only ever reliably worked locally for me. Any indications that mpi isn't communicating properly in/outside the container?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a copy-paste from what I use, and I'm running a job with it now. mpirun is already called from within the container, so it doesn't need to be called outside.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For reference, it does have trouble communicating outside of the container, but that behavior is not unique to this submit script or use case.

cd $scratch_dir
orca {input_name} >& $SLURM_SUBMIT_DIR/{output_name} || exit 1
/apps/eb/ORCA/6.1.0-OpenMPI-4.1.8-GCC-13.3.0-avx2/bin/orca {input_name} >& $SLURM_SUBMIT_DIR/{output_name} || exit 1
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does module load not add orca to path?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does, but orca complains if you use threads and don't specify the full path. I don't know why they need this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants