forked from easybuilders/easybuild-easyconfigs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding easyconfigs: IQ-TREE-2.3.6-gompi-2023a.eb
- Loading branch information
1 parent
dd036b4
commit 9eb3cbe
Showing
1 changed file
with
51 additions
and
0 deletions.
There are no files selected for viewing
51 changes: 51 additions & 0 deletions
51
easybuild/easyconfigs/i/IQ-TREE/IQ-TREE-2.3.6-gompi-2023a.eb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
easyblock = 'CMakeMake' | ||
|
||
name = 'IQ-TREE' | ||
version = '2.3.6' | ||
|
||
# HTTPS is not working | ||
homepage = 'http://www.iqtree.org/' | ||
description = """Efficient phylogenomic software by maximum likelihood""" | ||
|
||
toolchain = {'name': 'gompi', 'version': '2023a'} | ||
# Including 'usempi' will take precedence and override IQTREE_FLAGS and produces only 'iqtree-mpi' binary | ||
|
||
source_urls = ['https://github.com/iqtree/iqtree2/archive/'] | ||
sources = [{'download_filename': 'v%(version)s.tar.gz', 'filename': SOURCE_TAR_GZ}] | ||
patches = [ | ||
'IQ-TREE-2.3.5_use_EB_LSD2.patch', | ||
] | ||
checksums = [ | ||
{'IQ-TREE-2.3.6.tar.gz': '2d389ea74e19773496363cd68270b341ac7cc47c60e7f32859682403b34744cf'}, | ||
{'IQ-TREE-2.3.5_use_EB_LSD2.patch': 'b4578b01f06ae52b94b332622c0f6630497cd29cb61010f58f7c5018c2c32a5f'}, | ||
] | ||
|
||
builddependencies = [ | ||
('CMake', '3.26.3'), | ||
('Eigen', '3.4.0'), | ||
] | ||
dependencies = [ | ||
('zlib', '1.2.13'), | ||
('Boost', '1.82.0'), | ||
('LSD2', '2.4.1'), | ||
] | ||
|
||
local_conf_opts = ' -DUSE_LSD2=ON ' | ||
configopts = [ | ||
'-DIQTREE_FLAGS=omp' + local_conf_opts, | ||
'-DIQTREE_FLAGS=mpi -DCMAKE_C_COMPILER="$MPICC" -DCMAKE_CXX_COMPILER="$MPICXX"' + local_conf_opts, | ||
] | ||
|
||
sanity_check_paths = { | ||
'files': ['bin/iqtree2', 'bin/iqtree2-mpi'], | ||
'dirs': [], | ||
} | ||
|
||
sanity_check_commands = [ | ||
"iqtree2 --help", | ||
"mkdir -p $TMPDIR/{test-omp,test-mpi}", | ||
"cd $TMPDIR/test-omp && cp -a %(installdir)s/example.phy . && iqtree2 -s example.phy -redo", | ||
"cd $TMPDIR/test-mpi && cp -a %(installdir)s/example.phy . && mpirun -np 1 iqtree2-mpi -s example.phy -redo", | ||
] | ||
|
||
moduleclass = 'bio' |