Skip to content

Commit

Permalink
test without mpi
Browse files Browse the repository at this point in the history
  • Loading branch information
GiovanniBussi committed Apr 3, 2024
1 parent 399b20b commit de0eb32
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 17 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
# check if python module is working
python -c "import plumed; p=plumed.Plumed(); print(p)"
cd test
gmx_mpi mdrun -s topolA.tpr -plumed plumed.dat -nsteps 1000
gmx mdrun -s topolA.tpr -plumed plumed.dat -nsteps 1000
cat colvar.dat
mpiexec --oversubscribe -np 3 gmx_mpi mdrun -multidir dir? -plumed plumed.dat
cat dir*/colvar*.dat
#mpiexec --oversubscribe -np 3 gmx_mpi mdrun -multidir dir? -plumed plumed.dat
#cat dir*/colvar*.dat
4 changes: 2 additions & 2 deletions gromacs/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ mkdir build
cd build
cmake .. \
$opt \
-DGMX_DEFAULT_SUFFIX=ON \
-DGMX_MPI=ON \
-DGMX_DEFAULT_SUFFIX=OFF \
-DGMX_MPI=OFF \
-DGMXAPI=OFF \
-DGMX_THREAD_MPI=OFF \
-DGMX_GPU=OFF \
Expand Down
6 changes: 2 additions & 4 deletions gromacs/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,22 @@ requirements:
- llvm-openmp # [osx]
- python
host:
- openmpi
- fftw
- libhwloc 1.*
- libblas
- liblapack
- llvm-openmp # [osx]
- plumed
run:
- openmpi
- fftw
- libhwloc 1.*
- llvm-openmp # [osx]
- plumed >=2

test:
commands:
- gmx_mpi -version
- gmx_mpi mdrun -h | grep plumed
- gmx -version
- gmx mdrun -h | grep plumed

about:
home: http://www.gromacs.org/
Expand Down
3 changes: 0 additions & 3 deletions plumed/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ export CXXFLAGS="${CXXFLAGS//-O2/-O3}"
# libraries are explicitly listed here due to --disable-libsearch
export LIBS="-lfftw3 -lgsl -lgslcblas -llapack -lblas -lz $LIBS"

# enable MPI
export CXX=mpic++

# python is disabled since it should be provided as a separate package
# --disable-libsearch forces to link only explicitely requested libraries
# --disable-static-patch avoid tests that are only required for static patches
Expand Down
3 changes: 0 additions & 3 deletions plumed/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
CONDA_BUILD_SYSROOT:
- /opt/MacOSX10.9.sdk # [osx]
mpi:
- mpich
- openmpi
2 changes: 0 additions & 2 deletions plumed/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,13 @@ requirements:
- llvm-openmp # [osx]
- make
host:
- openmpi
- fftw
- gsl
- libblas
- liblapack
- llvm-openmp # [osx]
- zlib
run:
- openmpi
- gawk
- llvm-openmp # [osx]

Expand Down

0 comments on commit de0eb32

Please sign in to comment.