Skip to content
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

Reinstalling dependencies with provided script would delete dependencies of other BLAST codes #4975

Open
n01r opened this issue Jun 5, 2024 · 1 comment
Assignees
Labels
bug: affects latest release Bug also exists in latest release version bug Something isn't working install machine / system Machine or system-specific issue

Comments

@n01r
Copy link
Member

n01r commented Jun 5, 2024

Following the instructions right above the Compilation section in our docs recommends to use the script $HOME/src/warpx/Tools/machines/perlmutter-nersc/install_gpu_dependencies.sh.

On Perlmutter, the software dependency directory for a given project looks like this

(warpx) mgarten@perlmutter:login20:~/src/warpx> ls /global/cfs/cdirs/m3239/mgarten/sw/perlmutter/gpu/venvs/
impactx/ warpx/   

The script removes the old dependencies however and this would also break the ImpactX workflow by removing its installed dependencies

# Remove old dependencies #####################################################
#
SW_DIR="${CFS}/${proj%_g}/${USER}/sw/perlmutter/gpu"
rm -rf ${SW_DIR}
mkdir -p ${SW_DIR}
@n01r n01r added install machine / system Machine or system-specific issue labels Jun 5, 2024
@n01r
Copy link
Member Author

n01r commented Jun 5, 2024

Is it better to unify the dependencies for the BLAST codes or to separate them by code?
Maybe the latter?

We could instead do

SW_DIR="${CFS}/${proj%_g}/${USER}/sw/perlmutter/warpx/gpu"

or

SW_DIR="${CFS}/${proj%_g}/${USER}/sw/perlmutter/gpu/warpx/"

@ax3l ax3l self-assigned this Jun 10, 2024
@ax3l ax3l added bug Something isn't working bug: affects latest release Bug also exists in latest release version labels Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: affects latest release Bug also exists in latest release version bug Something isn't working install machine / system Machine or system-specific issue
Projects
None yet
Development

No branches or pull requests

2 participants