Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions docker/fedora39-pycv
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,4 @@ RUN source /etc/bashrc \
&& cd plugins/pycv \
&& ./configurePyCV.sh \
&& ln -s $(realpath ../../regtest/scripts) ./regtest/scripts \
&& make check_standalone
# To whom is reading: python > 3.10 gives some problems when using pycv
# from plumed whithin python. SO please remember to chante "check_standalone"
#into "check" to verify that the problem is fixed
&& make check
1 change: 1 addition & 0 deletions plugins/pycv/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/Makefile.conf
pycv_here
*.o
*.so
/env*/
Expand Down
6 changes: 3 additions & 3 deletions plugins/pycv/FindPlumed.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ if(NOT Plumed_FOUND)
endif()
endforeach()
endif()
if(${_line} MATCHES ".*-fopenmp.*")
set(Plumed_HAS_MPI
if(${_line} MATCHES ".*-[fq]openmp.*")
set(Plumed_HAS_OPENMP
1
CACHE INTERNAL "plumed has MPI")
CACHE INTERNAL "plumed has OpenMP")
endif()
endforeach()

Expand Down
2 changes: 1 addition & 1 deletion plugins/pycv/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dependencies = [
"numpy",
"pybind11>=2.10.3,<=2.11.1"
]
version = "0.0.1"
version = "0.0.2"
description="PyCV support module for plumed"
readme = "README.md"
authors = [
Expand Down
3 changes: 1 addition & 2 deletions plugins/pycv/pythontests/test_cv.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import unittest
import numpy as np

from utilities_for_test import *

from utilities_for_test import setUpTraj, preparePlumed, cd, create_plumed_var
import os

THIS_DIR = os.path.dirname(os.path.abspath(__file__))
Expand Down
2 changes: 1 addition & 1 deletion plugins/pycv/pythontests/test_cv_calls.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import unittest
import numpy as np

from utilities_for_test import *
from utilities_for_test import cd, preparePlumed, create_plumed_var, setUpTraj

import os

Expand Down
2 changes: 1 addition & 1 deletion plugins/pycv/pythontests/test_fun_calls.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import unittest
import numpy as np

from utilities_for_test import *
from utilities_for_test import cd, preparePlumed, create_plumed_var, setUpTraj

import os

Expand Down
Loading
Loading