Skip to content

parallel error in HPC #28715

Answered by milljm
eric199405 asked this question in Q&A General
Sep 26, 2024 · 1 comments · 14 replies
Discussion options

You must be logged in to vote

Can you try to activate the environment using an alternative method:

#!/bin/bash
#PBS -q normal
#PBS -j oe
#PBS -N p12_nognd
#PBS -l select=1:ncpus=32:mpiprocs=32:mem=100GB
#PBS -l walltime=24:00:00


# alternative way to 'activate' a conda environment
# see tip below why I don't use ~/
export PATH=/the/full/path/to/conda/bin:$PATH
source activate /the/full/path/to/.conda/envs/moose

which mpirun

srun -n 32 /scratch/users/nus/guozixu/scut/scut-opt \
  -i /scratch/users/nus/guozixu/scut/run.i \
  > /scratch/users/nus/guozixu/scut/p12_nognd.txt

Tip

use /full/path/to/** paths instead of ~/.
I've seen shorthand path to home, fail in job submission scripts. Best to use fully declared paths in…

Replies: 1 comment 14 replies

Comment options

You must be logged in to vote
14 replies
@eric199405
Comment options

@GiudGiud
Comment options

@eric199405
Comment options

@milljm
Comment options

Answer selected by eric199405
@eric199405
Comment options

@milljm
Comment options

@eric199405
Comment options

@GiudGiud
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants