-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use PYIRON_CORES and PYIRON_THREADS #73
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/bash | ||
export OMP_NUM_THREADS=1 | ||
export OMP_NUM_THREADS="${PYIRON_CORES:=1}" | ||
DAMASK_grid -m material.yaml -l loading.yaml -g damask.vti |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/bash | ||
export OMP_NUM_THREADS=$1 | ||
export OMP_NUM_THREADS="${PYIRON_CORES:=$1}" | ||
DAMASK_grid -m material.yaml -l loading.yaml -g damask.vti |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/bash | ||
mpiexec -n ${PYIRON_CORES:=1} --oversubscribe lmp_mpi -in control.inp; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/bash | ||
mpiexec -n ${PYIRON_CORES:=$1} --oversubscribe lmp_mpi -in control.inp; | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#!/bin/bash | ||
mpiexec -n 1 lmp_mpi -in control.inp | ||
mpiexec -n ${PYIRON_CORES:=1} lmp_mpi -in control.inp |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#!/bin/bash | ||
mpiexec -n $1 lmp_mpi -in control.inp | ||
mpiexec -n ${PYIRON_CORES:=$1} lmp_mpi -in control.inp |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#!/bin/bash | ||
mpiexec -n $1 mlp run mlip.ini --filename=structure.cfg | ||
mpiexec -n ${PYIRON_CORES:=$1} mlp run mlip.ini --filename=structure.cfg |
This file was deleted.
This file was deleted.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I still use this. Making 6 the default makes sense, but it's ok to keep the old version for a while. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is primarily a template as inspiration for users - these are not the resources we use one the cluster. |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/bash | ||
mpiexec -n ${PYIRON_CORES:=$1} vasp_std |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/bash | ||
mpiexec -n ${PYIRON_CORES:=$1} vasp_gam |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/bash | ||
mpiexec -n ${PYIRON_CORES:=$1} vasp_ncl |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/bash | ||
mpiexec -n ${PYIRON_CORES:=$1} vasp_std |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this intending to get the conda version of lammps from the
pyiron/...
module? Then I would like to make that more explicity byand renaming the script to include conda or so "conda", since in the current way it's not actually guaranteed that we end up with lammps 2024 Feb07.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we have some confusion here - these are the general pyiron resources people download when they install pyiron from conda, so yes it is using LAMMPS from conda and by default there is no module system available.