Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

environment variables not read #1

Open
chburger opened this issue Nov 25, 2022 · 1 comment
Open

environment variables not read #1

chburger opened this issue Nov 25, 2022 · 1 comment

Comments

@chburger
Copy link

When I am setting MOLCAS_NPROCS=16
only one core is used nevertheless when I run
python3 -m scine_autocas --xyz_file mol.xyz

This is the output

WorkDir: /scratch/ben/molcas_scratch
MOLCAS_NPROCS: 1
OMP_NUM_THREADS: 1
QCMaquis_CPU: 1

@mmoerchen
Copy link

Hi,

I'm one of the AutoCAS developers.
This should be only a bug in the output.

The output shows the default for the corresponding internal variable.
However, in the workflow, all environment variables are copied and only overwritten with the corresponding internal variables, if a specific input is set.

If you compiled the MPI version of OpenMolcas, AutoCAS should start parallel calculations with the speciefied number of processes.
However, QCMaquis is not MPI parallelized, so for this you would need to set OMP_NUM_THREADS.

Best,
Max

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants