Comments (6)
Turns out that the fix above was not sufficient. I ended up having to override the MPI_LIB fix in the install_wps_openmpi.sh script itself. See changes in my branch:
from azurehpc.
Is the openmpi module being loaded correctly?
from azurehpc.
from azurehpc.
[cyclecloud@ip-0A060006 ~]$ export SHARED_APP=$HOME/apps
[cyclecloud@ip-0A060006 ~]$ export SKU_TYPE=hb
[cyclecloud@ip-0A060006 ~]$ export MODULEPATH=${SHARED_APP}/modulefiles/${SKU_TYPE}:$MODULEPATH
[cyclecloud@ip-0A060006 ~]$
[cyclecloud@ip-0A060006 ~]$ export SPACK_ROOT=$HOME/apps/spack/0.14.2/spack
[cyclecloud@ip-0A060006 ~]$ source $SPACK_ROOT/share/spack/setup-env.sh
[cyclecloud@ip-0A060006 ~]$ set | grep MPI_
[cyclecloud@ip-0A060006 ~]$ module load mpi/openmpi-4.0.3
[cyclecloud@ip-0A060006 ~]$ set | grep MPI
MPI_BIN=/opt/openmpi-4.0.3/bin
MPI_HOME=/opt/openmpi-4.0.3
MPI_INCLUDE=/opt/openmpi-4.0.3/include
MPI_LIB=/opt/openmpi-4.0.3/lib
MPI_MAN=/opt/openmpi-4.0.3/share/man
So it is module load mpi/openmpi-4.0.3
that is setting the MPI_LIB env var.
However I am not sure if it is being set to an incorrect value OR if it is the WPS configure setup that is using it incorrectly. In any case it end up not building all of the required WPS executables.
Thanks
from azurehpc.
Thanks for finding this build error. I took a closer look at it today. Here is the problem.
The OpenMPI modulefile set MPI_LIB to the location of its libraries. WPS used MPI_LIB
directly in its Makefiles (without a -L option) and so we see the Makefile build error. Since WPS
uses the mpi wrappers (mpif90, mpicc) it does not need MPI_LIB, because the wrappers already know the location of the openmpi libraries and include files. So, one simple solution is to just unset MPI_LIB (ie export MPI_LIB=""). I have create a PR (#295 ) with this fix.
from azurehpc.
closing as this was fixed with above PR. please reopen if you still hit issues.
from azurehpc.
Related Issues (20)
- Tag resource group with the pipeline name HOT 1
- [bug] Pipeline image creation failed - BuildCluster Gen#1, BuildCluster Gen#2
- [bug] Slum_autoscale pipeline failed with headnode connnection refused. HOT 1
- [bug] cc_anf pipeline failed with provisioning failed (InternalServerError) HOT 1
- Unable to create a cluster out of an HPC Image derived from a VHD - package epel-release is not installed epel-release-7-11.noarch HOT 3
- Support OpenPBS 20 HOT 1
- xfs nobarrier is deprecated since kernel 4.13
- [bug] NFS mount fails due issues in nfs.conf HOT 1
- support cyclecloud8 in cc_install.sh HOT 3
- cyclecloud8 config fails on "authorization.check_datastore_permissions"' HOT 1
- Using existing resources: RG, Vnet, Jumpbox etc HOT 4
- [slurm version in AutoScale script] HOT 3
- start_gpu_data_collector.sh script failure when tried to excute HOT 1
- [feature] Add the link of this video in the documentation
- gpu_monitoring: Script returns error on Ubuntu 20.04 LTS [bug]
- [feature] specify subscription through config.json?
- This repo is missing important files
- [bug] "Error with `azhpc-scp` command in `apps/wrf/readme.md` : -r flag unrecognized"
- [bug]: Unable to locate a modulefile for 'spack/spack' in `build-wrf.sh`and `build_wps.sh` HOT 1
- [bug] `azhpc-build` script fails but resources are created, leading to unintended charges
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azurehpc.