Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
22235bd
first draft
alexmaryewski May 10, 2024
646555a
first configuring version
alexmaryewski May 10, 2024
6e9e676
milestone
alexmaryewski May 10, 2024
010086a
python interface still does not compile
alexmaryewski May 10, 2024
81940c0
refactor for consistent compilation behaviour
alexmaryewski May 15, 2024
36cceb9
binaries compile and link
alexmaryewski May 15, 2024
a0ed073
neat Python install
alexmaryewski May 16, 2024
d504247
install apparently working
alexmaryewski May 17, 2024
787623c
install apparently working
alexmaryewski May 17, 2024
4306267
backup
alexmaryewski Jun 13, 2024
ef1d21d
testing template
alexmaryewski Jun 17, 2024
431c415
version fix in progress
alexmaryewski Jun 18, 2024
9ef5dd9
all tests run; toolchain changes
alexmaryewski Jun 18, 2024
290206a
refactor configuring and installation
alexmaryewski Jun 18, 2024
1abf264
install works correctly
alexmaryewski Jun 18, 2024
cf3dab4
remove redundant findcJSON.cmake
alexmaryewski Jun 18, 2024
f7720f6
fix HDF5 module conditional compilation
alexmaryewski Jun 19, 2024
b36c003
fix HDF5-dependent tests
alexmaryewski Jun 19, 2024
10e18e3
Removed vscode settings
mattiabondanza Jun 27, 2024
4968335
Gitignore for vscode changed
mattiabondanza Jun 27, 2024
4f08b69
Workaround to solve issues with GCC7
mattiabondanza Jun 27, 2024
ee6a65d
Updated path for nvidia compilers
mattiabondanza Jun 27, 2024
d513061
Replaced workaround for a real solution for the find_package problem
mattiabondanza Jun 27, 2024
3961e46
Moved a message from stderr to stdout
mattiabondanza Jun 27, 2024
8b84738
Reenabled hdf5 compilation for Intel
mattiabondanza Jun 27, 2024
fd1d2eb
Re-enabled HDF5 for Nvidia
mattiabondanza Jun 27, 2024
3e0fd9d
fix GNU < 0.8 and openmp bug?
alexmaryewski Jun 27, 2024
f32389c
NVidia is compiled without HDF5 support
mattiabondanza Jun 28, 2024
a303a89
Merge branch 'cmake_fix' of molimen1.dcci.unipi.it:molecolab/open-mmp…
mattiabondanza Jun 28, 2024
2ce75e9
Reverted 3e0fd9d7
mattiabondanza Jun 28, 2024
101d095
Only required components of OpenMP in find_package
mattiabondanza Jun 28, 2024
ef116d5
Changed std=2018 with std=2008ts which is supported by older GNU com…
mattiabondanza Jun 28, 2024
a32eff7
Same as before, but for the default build
mattiabondanza Jun 28, 2024
a95d2e8
Build target for test programs, tests enabled by default
mattiabondanza Jun 28, 2024
d5894d4
Added global target for utils
mattiabondanza Jun 28, 2024
46d1746
Updated DOC.md for new extensions
mattiabondanza Jun 28, 2024
5c50714
change Python build backend to hatch; add dynamic versioning
alexmaryewski Jun 28, 2024
c7f7dda
reenable custom targets for CI testing
alexmaryewski Jun 28, 2024
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
228 changes: 221 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,224 @@
# Exclude binary files
# Prerequisites
*.d

# Object files
*.o
*.so
*.ko
*.obj
*.elf

# Linker output
*.ilk
*.map
*.exp

# Precompiled Headers
*.gch
*.pch

# Libraries
*.lib
*.a
*.mod
*.la
*.lo

# Shared objects (inc. Windows DLLs)
*.dll
*.so
*.so.*
*.dylib

# Executables
*.exe
**/__pycache__
doc/*
build*/*
include/version.h
*.out
*.app
*.i*86
*.x86_64
*.hex

# Debug files
*.dSYM/
*.su
*.idb
*.pdb

# Kernel Module Compile Results
*.mod*
*.cmd
.tmp_versions/
modules.order
Module.symvers
Mkfile.old
dkms.conf

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
.pybuilder/
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
# For a library or package, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# .python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# poetry
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
# This is especially recommended for binary packages to ensure reproducibility, and is more
# commonly ignored for libraries.
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
#poetry.lock

# pdm
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
#pdm.lock
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
# in version control.
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
.pdm.toml
.pdm-python
.pdm-build/

# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# Cython debug symbols
cython_debug/

# PyCharm
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
.idea/

# VSCode
.vscode/

# Custom build options file
custom.cmake

# Build directories
*build*/
13 changes: 8 additions & 5 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ cmake-config-nvidia:
before_script:
- export NVARCH=`uname -s`_`uname -m`
- export NVCOMPILERS=/opt/nvidia/hpc_sdk
- export PATH=$NVCOMPILERS/$NVARCH/2023/compilers/bin:$PATH
- export PATH=$NVCOMPILERS/$NVARCH/2024/compilers/bin:$PATH
script:
- mkdir build_nvidia
- cd build_nvidia
- cmake -DCMAKE_C_COMPILER=`which nvc` -DCMAKE_CXX_COMPILER=`which nvcc` -DCMAKE_Fortran_COMPILER=`which nvfortran` -DCMAKE_BUILD_TYPE=RELEASE -DHDF5_ROOT=/opt/nvidia/hdf5-1.12.2 ..
- cmake -DCMAKE_C_COMPILER=`which nvc` -DCMAKE_CXX_COMPILER=`which nvcc` -DCMAKE_Fortran_COMPILER=`which nvfortran` -DCMAKE_BUILD_TYPE=RELEASE -DWITH_HDF5=FALSE ..
artifacts:
paths:
- build_nvidia
Expand All @@ -87,10 +87,11 @@ compile-C:
script:
- cd build
- make C_test_programs
- make utility_programs
- make openmmpol_utils
artifacts:
paths:
- build/bin
- build/app
only:
- pushes
- schedules
Expand Down Expand Up @@ -130,10 +131,11 @@ compile-C-intel:
script:
- cd build_intel
- make C_test_programs
- make utility_programs
- make openmmpol_utils
artifacts:
paths:
- build_intel/bin
- build_intel/app
only:
- schedules

Expand Down Expand Up @@ -177,10 +179,11 @@ compile-C-nvidia:
script:
- cd build_nvidia
- make C_test_programs
- make utility_programs
- make openmmpol_utils
artifacts:
paths:
- build_nvidia/bin
- build_nvidia/app
only:
- schedules

Expand Down
Loading