diff --git a/Golden_Repo/j/JupyterProxy-NESTDesktop/JupyterProxy-NESTDesktop-0.3.4-GCCcore-11.3.0-2023.3.6.eb b/Golden_Repo/j/JupyterProxy-NESTDesktop/JupyterProxy-NESTDesktop-0.3.4-GCCcore-11.3.0-2023.3.6.eb new file mode 100644 index 0000000000000000000000000000000000000000..c8130c0666a2775153d22eab7d3db9e8d663afc9 --- /dev/null +++ b/Golden_Repo/j/JupyterProxy-NESTDesktop/JupyterProxy-NESTDesktop-0.3.4-GCCcore-11.3.0-2023.3.6.eb @@ -0,0 +1,70 @@ +easyblock = 'PythonBundle' + +name = 'JupyterProxy-NESTDesktop' +version = '0.3.4' +local_jupyterver = '2023.3.6' +versionsuffix = '-' + local_jupyterver + +homepage = 'https://nest-desktop.readthedocs.io/' +description = """ +NEST Desktop is a web-based GUI application for NEST Simulator, +an advanced simulation tool for the computational neuroscience. +""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} +toolchainopts = {'pic': True} + +builddependencies = [ + ('binutils', '2.38'), + # check for existance + # ('nest-simulator', '3.6'), + ('nest-desktop', '3.3.0'), +] + +dependencies = [ + ('Python', '3.10.4'), + ('JupyterLab', local_jupyterver), +] + +exts_defaultclass = 'PythonPackage' +exts_default_options = { + 'download_dep_fail': True, + 'source_urls': [PYPI_SOURCE], + 'use_pip': True, +} + +exts_list = [ + ('jupyter-nestdesktop-proxy', version, { + 'source_tmpl': 'v%(version)s.tar.gz', + 'source_urls': ['https://github.com/jhgoebbert/jupyter-nestdesktop-proxy/archive/'], + 'checksums': [ + '58f87fdae12941409ee5f9454fa5a5533fded3720409068a465a462e1526cc13', + ], + }), +] + +postinstallcmds = [ + # write nest-desktop + ( + 'cp %(installdir)s/lib/python%(pyshortver)s/site-packages/jupyter_nestdesktop_proxy/bin/nest-desktop.in ' + ' %(installdir)s/lib/python%(pyshortver)s/site-packages/jupyter_nestdesktop_proxy/bin/nest-desktop \n' + 'prepenv="' + ' module purge\\n' + ' module load Stages/2023\\n' + ' module load GCC\\n' + ' module load Python\\n' + ' module load ParaStationMPI\\n' + ' module load nest-simulator\\n' + ' module load nest-desktop\\n"\n' + 'sed -i "s#<MODULES>#$prepenv#g" ' + ' "%(installdir)s/lib/python%(pyshortver)s/site-packages/jupyter_nestdesktop_proxy/bin/nest-desktop"' + ), + 'chmod +x %(installdir)s/lib/python%(pyshortver)s/site-packages/jupyter_nestdesktop_proxy/bin/nest-desktop' +] + +sanity_check_paths = { + 'files': [], + 'dirs': ['lib/python%(pyshortver)s/site-packages'], +} + +moduleclass = 'tools' diff --git a/Golden_Repo/l/libneurosim/libneurosim-1.2.0-gpsmkl-2022a.eb b/Golden_Repo/l/libneurosim/libneurosim-1.2.0-gpsmkl-2022a.eb new file mode 100644 index 0000000000000000000000000000000000000000..709fcee5e72ffc3d507d7c9f2693565256e8305f --- /dev/null +++ b/Golden_Repo/l/libneurosim/libneurosim-1.2.0-gpsmkl-2022a.eb @@ -0,0 +1,38 @@ +easyblock = 'ConfigureMake' + +name = 'libneurosim' +version = '1.2.0' + +homepage = 'https://github.com/INCF/libneurosim' + +description = """ +Common interfaces for neuronal simulators +""" + +toolchain = {'name': 'gpsmkl', 'version': '2022a'} +toolchainopts = {'pic': True, 'usempi': True} + +github_account = 'INCF' +source_urls = [GITHUB_SOURCE] +sources = ['v%(version)s.tar.gz'] +checksums = ['372fa0d8fb31950370f1d27bff4865e1200456239f4ea382c267d9a310175f83'] + +builddependencies = [ + ('binutils', '2.38'), + ('Autoconf', '2.71'), + ('pkgconf', '1.8.0'), +] + +dependencies = [ + ('Python', '3.10.4'), +] + +preconfigopts = './autogen.sh && ' +configopts = '--with-python=3 ' + +sanity_check_paths = { + 'files': ['lib/libneurosim.%s' % x for x in ['a', SHLIB_EXT]], + 'dirs': ['include', 'lib'], +} + +moduleclass = 'lib' diff --git a/Golden_Repo/n/nest-desktop/nest-desktop-3.3.0-GCCcore-11.3.0.eb b/Golden_Repo/n/nest-desktop/nest-desktop-3.3.0-GCCcore-11.3.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..1d9a11aa3e65fdfcd3ff3b656fdcf309b391ca7b --- /dev/null +++ b/Golden_Repo/n/nest-desktop/nest-desktop-3.3.0-GCCcore-11.3.0.eb @@ -0,0 +1,53 @@ +easyblock = 'PythonBundle' + +name = 'nest-desktop' +version = '3.3.0' + +homepage = 'https://nest-desktop.readthedocs.io' +description = """ +NEST Desktop is a web-based GUI application for NEST Simulator, +an advanced simulation tool for the computational neuroscience. +""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} +toolchainopts = {'pic': True} + +builddependencies = [ + ('binutils', '2.38'), + ('nodejs', '16.15.1'), +] + +dependencies = [ + ('Python', '3.10.4'), +] + +exts_default_options = { + 'source_urls': [PYPI_SOURCE], + 'use_pip': True, + 'sanity_pip_check': True, + 'download_dep_fail': True, + 'use_pip_for_deps': False, +} + +exts_list = [ + ('nest-desktop', version, { + 'source_urls': ['https://github.com/nest-desktop/nest-desktop/archive/'], + 'sources': ['v%s.tar.gz' % version], + 'checksums': ['e82e7aeafe15e822e100b490ec3254ee6d2ec60f8539f44c4e37abc914c21989'], + 'buildcmd': 'yarn install && yarn build', + }), +] + +# specify that Bundle easyblock should run a full sanity check, rather than just trying to load the module +# full_sanity_check = True +sanity_check_paths = { + 'files': [ + 'bin/nest-desktop', + ], + 'dirs': [ + 'bin', + 'lib/python%(pyshortver)s/site-packages', + ], +} + +moduleclass = 'tools' diff --git a/Golden_Repo/n/nest-simulator/nest-simulator-3.6-gpsmkl-2022a.eb b/Golden_Repo/n/nest-simulator/nest-simulator-3.6-gpsmkl-2022a.eb new file mode 100644 index 0000000000000000000000000000000000000000..d281c1283ac228d7951f599f29b62e3bf8378f0a --- /dev/null +++ b/Golden_Repo/n/nest-simulator/nest-simulator-3.6-gpsmkl-2022a.eb @@ -0,0 +1,110 @@ +easyblock = 'PythonBundle' + +name = 'nest-simulator' +version = '3.6' + +homepage = 'https://www.nest-simulator.org/' +description = """NEST is a simulator for spiking neural network models +that focuses on the dynamics, size and structure of neural systems +rather than on the exact morphology of individual neurons. +""" + +toolchain = {'name': 'gpsmkl', 'version': '2022a'} +toolchainopts = {'pic': True, 'usempi': True} + +builddependencies = [ + ('CMake', '3.23.1'), + ('pkgconf', '1.8.0'), +] + +dependencies = [ + ('Python', '3.10.4'), + ('libtool', '2.4.7'), + ('Boost', '1.79.0'), + ('HDF5', '1.12.2'), + ('SciPy-bundle', '2022.05', '', ('gcccoremkl', '11.3.0-2022.1.0')), + ('GSL', '2.7'), + ('mpi4py', '3.1.4'), + ('SIONlib', '1.7.7'), + ('libneurosim', '1.2.0'), +] + +components = [ + ('nest-simulator', '%s' % version, { + 'easyblock': 'CMakeMake', + 'source_urls': ['https://github.com/nest/nest-simulator/archive/'], + 'sources': ['v%s.tar.gz' % version], + 'checksums': ['68d6b11791e1284dc94fef35d84c08dd7a11322c0f1e1fc9b39c5e6882284922'], + 'separate_build_dir': True, + 'start_dir': 'nest-simulator-%s' % version, + 'configopts': ( + '-DCMAKE_VERBOSE_MAKEFILE=ON ' + '-Dwith-libraries=OFF ' + '-Dwith-warning=ON ' + '-Dwith-userdoc=OFF ' + '-Dwith-optimize=ON ' + '-Dwith-boost=ON ' + '-Dwith-python=ON ' + '-Dwith-openmp=ON ' + '-Dwith-mpi=ON ' + '-Dwith-gsl=ON ' + '-Dwith-hdf5=ON ' + '-Dwith-libneurosim=ON ' + '-Dwith-ltdl=ON ' + '-Dwith-music=OFF ' + '-Dwith-readline=ON ' + '-Dwith-sionlib=ON ' + '-DSIONLIB_LIBRARIES=${EBROOTSIONLIB}/lib/ ' + ), + 'preinstallopts': ( + 'ln -s %(installdir)s/lib64/ %(installdir)s/lib && ' + ) + }) +] + +exts_default_options = { + 'source_urls': [PYPI_SOURCE], + 'use_pip': True, + 'sanity_pip_check': False, # skip as it requires protobuf, TensorFlow + 'download_dep_fail': True, + 'use_pip_for_deps': False, +} + +exts_list = [ + ('blinker', '1.6.2', { + 'checksums': ['4afd3de66ef3a9f8067559fb7a1cbe555c17dcbe15971b05d1b625c3e7abe213'], + }), + ('Werkzeug', '2.2.3', { + 'checksums': ['2e1ccc9417d4da358b9de6f174e3ac094391ea1d4fbef2d667865d819dfd0afe'], + }), + ('itsdangerous', '2.1.2', { + 'checksums': ['5dbbc68b317e5e42f327f9021763545dc3fc3bfe22e6deb96aaf1fc38874156a'], + }), + ('Flask', '2.2.5', { + 'modulename': 'flask', + 'checksums': ['edee9b0a7ff26621bd5a8c10ff484ae28737a2410d99b0bb9a6850c7fb977aa0'], + }), + ('Flask-Cors', '4.0.0', { + 'modulename': 'flask_cors', + 'checksums': ['f268522fcb2f73e2ecdde1ef45e2fd5c71cc48fe03cffb4b441c6d1b40684eb0'], + }), + ('RestrictedPython', '6.1', { + 'modulename': 'RestrictedPython', + 'checksums': ['7e58ea15cc92a0b916e0c8ca295e8b2c6d40fee4d12e1a2b5063d86efc279a9c'], + }), + ('gunicorn', '21.2.0', { + 'checksums': ['88ec8bff1d634f98e61b9f65bc4bf3cd918a90806c6f5c48bc5603849ec81033'], + }), +] + +sanity_check_paths = { + 'files': [ + 'bin/nest', 'bin/nest-server', + ], + 'dirs': [ + 'bin', 'include', 'lib', 'share', + 'lib/python%(pyshortver)s/site-packages/nest', + ] +} + +moduleclass = 'tools' diff --git a/acls.yml b/acls.yml index a35165367583eee460ee35be82dc68a7159e64e0..618bbde9443d667ba104984764635dcd47f3ab3b 100644 --- a/acls.yml +++ b/acls.yml @@ -232,6 +232,9 @@ software: - name: 'JupyterProxy-Matlab' owner: 'goebbert1' base: True + - name: 'JupyterProxy-NESTDesktop' + owner: 'goebbert1' + base: True - name: 'lfortran' owner: 'goebbert1' base: True @@ -244,6 +247,9 @@ software: - name: 'libepoxy' owner: 'strube1' base: True + - name: 'libneurosim' + owner: 'goebbert' + mpi: True - name: 'libspng' owner: 'goebbert1' base: True @@ -277,6 +283,12 @@ software: - name: 'myqlm' owner: ['gonzalezcalaza1', 'goebbert1'] base: True + - name: 'nest-desktop' + owner: 'goebbert1' + base: True + - name: 'nest-simulator' + owner: 'goebbert1' + mpi: True - name: 'nlohmann-json' owner: 'goebbert1' base: True