{bio}[foss/2016a] RepastHPC 2.2.0#4395
Conversation
|
|
||
| homepage = 'https://repast.github.io/' | ||
| description = """The Repast Suite is a family of advanced, free, and open source agent-based modeling and simulation platforms that have collectively been under continuous development for over 15 years: | ||
| Repast for High Performance Computing 2.2.0, released on 30 September 2016, is a lean and expert-focused C++-based modeling system that is designed for use on large computing clusters and supercomputers.""" |
There was a problem hiding this comment.
@mboisson Lines are too line, please wrap to lines with <= 120 chars.
| source_urls = ['https://github.com/Repast/repast.hpc/releases/download/v%s' % version] | ||
|
|
||
| dependencies = [ | ||
| ('netCDF-C++','4.2'), |
| toolchainopts = {'usempi': True} | ||
|
|
||
| sources = ["repast_hpc-%s.tgz" % version] | ||
| source_urls = ['https://github.com/Repast/repast.hpc/releases/download/v%s' % version] |
There was a problem hiding this comment.
please use %(version)s:
sources = ["repast_hpc-%(version)s.tgz"]
source_urls = ['https://github.com/Repast/repast.hpc/releases/download/v%(version)s']| configopts = '--with-boost=$EBROOTBOOST --with-netcdf=$EBROOTNETCDFMINCPLUSPLUS' | ||
|
|
||
| sanity_check_paths = { | ||
| 'files': ['lib/librepast_hpc-%s.so' % version, 'lib/librelogo-%s.so' % version], |
There was a problem hiding this comment.
please use %(version)s, and avoid hardcoding .so, use SHLIB_EXT constant:
'files': ['lib/librepast_hpc-%%(version)s.%s' % SHLIB_EXT, 'lib/librelogo-%%(version)s.%s' % SHLIB_EXT],|
|
||
| sanity_check_paths = { | ||
| 'files': ['lib/librepast_hpc-%s.so' % version, 'lib/librelogo-%s.so' % version], | ||
| 'dirs': ['include','lib','bin/zombie', 'bin/rumor'], |
There was a problem hiding this comment.
please sort alphabetically, include space after , in the list
|
Test report by @boegel |
|
I think I addressed all of the remarks in the latest commit. |
|
Travis test report: 8/8 runs failed - see https://travis-ci.org/hpcugent/easybuild-easyconfigs/builds/215661862 Only showing partial log for 1st failed test suite run 4122.1;
|
|
not sure how to fix that. I don't know the |
| configopts = '--with-boost=$EBROOTBOOST --with-netcdf=$EBROOTNETCDFMINCPLUSPLUS' | ||
|
|
||
| sanity_check_paths = { | ||
| 'files': ['lib/librelogo-%(version)s.%s' % SHLIB_EXT, 'lib/librepast_hpc-%(version)s.%s' % SHLIB_EXT ], |
There was a problem hiding this comment.
@mboisson You need to use %%(version)s here (i.e. escape the %), to ensure that you have %(version)s in the string after string templating with % SHLIB_EXT is done
|
|
||
| sanity_check_paths = { | ||
| 'files': ['lib/librelogo-%(version)s.%s' % SHLIB_EXT, 'lib/librepast_hpc-%(version)s.%s' % SHLIB_EXT ], | ||
| 'dirs': ['bin/rumor', 'bin/zombie', 'include', 'lib'], |
There was a problem hiding this comment.
Are bin/rumor and bin/zombie subdirectories with binaries in them? If so, should we add them to $PATH?
|
They are, but I don't think they should be added to the paths. They are demo programs that are compiled automatically. I just take them as proof that The libraries are correctly compiled and can be linked against.
|
|
Test report by @boegel |
|
Test report by @boegel |
|
Seems like what is failing is building dependencies that are already in the develop branch, not what is included in this PR. |
| 'dirs': ['bin/rumor', 'bin/zombie', 'include', 'lib'], | ||
| } | ||
|
|
||
| moduleclass = 'bio' |
There was a problem hiding this comment.
I was not sure what moduleclass to put (and I have no clue what is the impact of that value on anything).
RepastHPC is typically used to do agent based modeling, which our researcher use to perform simulations on animal population dynamics. Could also be used for simulations about spreading of diseases. But of course it can also be used to simulate non-biological related stuff like transport dynamics....
There was a problem hiding this comment.
OK, let's leave it then.
The impact isn't very big, but some sites rely on moduleclass for example to group modules per domain.
|
@mboisson Something is wrong with my |
|
Test report by @boegel |
|
lgtm |
|
Going in, thanks @mboisson! |
Added a recipe for the RepastHPC package.