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

fix AmberTools v20 easyconfig using intel/2020a toolchain #14028

Merged
Merged
Changes from 1 commit
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
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,37 @@ sources = [{
'download_filename': local_download_credentials,
'filename': SOURCE_TAR_BZ2,
}]
patches = ['Amber-20_fix-hardcoding.patch']
patches = [
'Amber-20_fix-hardcoding.patch',
'AmberTools-20_fix_missing_MPI_LIBRARY_error.patch',
'AmberTools-20_cmake-locate-netcdf.patch',
boegel marked this conversation as resolved.
Show resolved Hide resolved
]
checksums = [
'b1e1f8f277c54e88abc9f590e788bbb2f7a49bcff5e8d8a6eacfaf332a4890f9', # AmberTools-20.tar.bz2
'a71f1bd70bac8d5e25386d6db90e95874ad300b956ed5b5afbc8848b7c1e00dc', # Amber-20_fix-hardcoding.patch
# AmberTools-20_fix_missing_MPI_LIBRARY_error.patch'
'0b89a0624167bc23876bcdefcb1055f591e38e3bd559a71d5749e342bd311acc',
'473e07c53b6f641d96d333974a6af2e03413fecef79f879d3fdecf7fecaab4d0', # AmberTools-20_cmake-locate-netcdf.patch
]

builddependencies = [
('Bison', '3.5.3'),
('pkg-config', '0.29.2'),
('CMake', '3.16.4'),
]
dependencies = [
('Python', '3.8.2'),
('SciPy-bundle', '2020.03', versionsuffix),
('matplotlib', '3.2.1', versionsuffix),
('netCDF', '4.7.4'),
('netCDF-Fortran', '4.5.2'),
('FFTW', '3.3.8'),
]

# fix linking to netCDF library: also requires linking to HDF5 & cURL libs, which in turns require others,
# all of which are indirect dependencies via netCDF
local_netcdf_libs = "-lnetcdf -lhdf5 -lsz -ldl -liomp5 -lcurl -lssl -lcrypto -lz -lm -lpthread"
preconfigopts = "sed -i'' 's/-lnetcdf/%s/g' AmberTools/src/cpptraj/configure && " % local_netcdf_libs
preconfigopts = "sed -i'' 's/-lnetcdf/%s/g' %%(builddir)s/AmberTools/src/cpptraj/configure && " % local_netcdf_libs
boegel marked this conversation as resolved.
Show resolved Hide resolved
configopts = "-nosanderapi"
boegel marked this conversation as resolved.
Show resolved Hide resolved

moduleclass = 'chem'