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

{chem}[foss/2021a,intel/2021a] DIRAC v22.0 #15008

Merged
merged 21 commits into from
Mar 25, 2022

Conversation

agustinaucar
Copy link
Contributor

These are 2 new proposed compilations of the newest release of the DIRAC code (http://www.diracprogram.org/).

@agustinaucar
Copy link
Contributor Author

agustinaucar commented Feb 25, 2022

Dear @boegel , thanks for your kind invitation to propose this tiny contribution to EasyBuild. Is there any way by which I can activate the automatic tests to be sure there are no bugs in these *eb files? Thank you in advance!

@boegel boegel changed the title New release for DIRAC code {chem}[foss/2021a,intel/2021a] DIRAC v22.0 Mar 2, 2022
@boegel boegel added the update label Mar 2, 2022
@boegel boegel added this to the 4.x milestone Mar 2, 2022
@boegel
Copy link
Member

boegel commented Mar 2, 2022

Dear @boegel , thanks for your kind invitation to propose this tiny contribution to EasyBuild. Is there any way by which I can activate the automatic tests to be sure there are no bugs in these *eb files? Thank you in advance!

@agustinaucar Thanks a lot for your contribution!
The tests are not being run automatically because this is your first pull request, so GitHub by default is careful with running test suite for "untrusted" contributors to avoid malicious activity.

If you push additional updates in this PR, we'll need to approve the running of the test suite again, but only for this first PR.

Are you up for submitting a test report to show that these easyconfigs work for you?
See https://docs.easybuild.io/en/latest/Contributing.html#test-reports-for-easyconfig-contributions-upload-test-report

@agustinaucar
Copy link
Contributor Author

Dear @boegel , thanks for your kind invitation to propose this tiny contribution to EasyBuild. Is there any way by which I can activate the automatic tests to be sure there are no bugs in these *eb files? Thank you in advance!

@agustinaucar Thanks a lot for your contribution! The tests are not being run automatically because this is your first pull request, so GitHub by default is careful with running test suite for "untrusted" contributors to avoid malicious activity.

If you push additional updates in this PR, we'll need to approve the running of the test suite again, but only for this first PR.

Are you up for submitting a test report to show that these easyconfigs work for you? See https://docs.easybuild.io/en/latest/Contributing.html#test-reports-for-easyconfig-contributions-upload-test-report

Hi @boegel , thank you!

I was trying to submit a test report using

eb --from-pr 15008 --upload-test-report --force --robot --github-user agustinaucar

but it seems I'm doing something wrong. I obtain:

$ eb --from-pr 15008 --upload-test-report --force --robot --github-user agustinaucar
== Temporary log file in case of crash /tmp/eb-juzjyjnd/easybuild-qnuy0ved.log

WARNING: Deprecated functionality, will no longer work in v5.0: Support for Lmod version < 7.0.0 is deprecated, found version 6.6; see http://easybuild.readthedocs.org/en/latest/Deprecated-functionality.html for more information

== found valid index for /usr/local/easybuild/easyconfigs, so using it...
== found valid index for /usr/local/easybuild/easyconfigs, so using it...
== resolving dependencies ...
== processing EasyBuild easyconfig /tmp/eb-juzjyjnd/files_pr15008/d/DIRAC/DIRAC-22.0-foss-2021a-Python-3.9.5-mpi.eb
== building and installing DIRAC/22.0-foss-2021a-Python-3.9.5-mpi...
== fetching files...
== creating build dir, resetting environment...
== unpacking...
== ... (took 3 secs)
== patching...
== preparing...
== configuring...
== ... (took 5 secs)
== building...
== ... (took 8 mins 34 secs)
== testing...
== ... (took 1 secs)
== installing...
== ... (took 2 secs)
== taking care of extensions...
== restore after iterating...
== postprocessing...
== sanity checking...
== cleaning up...
== creating module...
== permissions...
== packaging...
== COMPLETED: Installation ended successfully (took 8 mins 51 secs)
== Results of the build can be found in the log file(s) /home/agustin/.local/easybuild/software/DIRAC/22.0-foss-2021a-Python-3.9.5-mpi/easybuild/easybuild-DIRAC-22.0-20220304.120706.log
== processing EasyBuild easyconfig /tmp/eb-juzjyjnd/files_pr15008/d/DIRAC/DIRAC-22.0-intel-2021a-Python-3.9.5-mpi.eb
== building and installing DIRAC/22.0-intel-2021a-Python-3.9.5-mpi...
== fetching files...
== creating build dir, resetting environment...
== unpacking...
== ... (took 3 secs)
== patching...
== preparing...
== configuring...
== ... (took 11 secs)
== building...
== ... (took 8 mins 48 secs)
== testing...
== installing...
== ... (took 1 secs)
== taking care of extensions...
== restore after iterating...
== postprocessing...
== sanity checking...
== cleaning up...
== creating module...
== permissions...
== packaging...
== COMPLETED: Installation ended successfully (took 9 mins 9 secs)
== Results of the build can be found in the log file(s) /home/agustin/.local/easybuild/software/DIRAC/22.0-intel-2021a-Python-3.9.5-mpi/easybuild/easybuild-DIRAC-22.0-20220304.121615.log
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/agustin/.local/lib/python3.8/site-packages/easybuild/main.py", line 597, in
main()
File "/home/agustin/.local/lib/python3.8/site-packages/easybuild/main.py", line 576, in main
test_report_msg = overall_test_report(ecs_with_res, len(paths), overall_success, success_msg, init_session_state)
File "/home/agustin/.local/lib/python3.8/site-packages/easybuild/tools/testing.py", line 377, in overall_test_report
txt = post_pr_test_report(pr_nrs, GITHUB_EASYCONFIGS_REPO, test_report, msg, init_session_state,
File "/home/agustin/.local/lib/python3.8/site-packages/easybuild/tools/testing.py", line 289, in post_pr_test_report
gist_url = upload_test_report_as_gist(test_report['full'], descr=descr, fn=fn)
File "/home/agustin/.local/lib/python3.8/site-packages/easybuild/tools/testing.py", line 262, in upload_test_report_as_gist
gist_url = create_gist(test_report, descr=descr, fn=fn, github_user=github_user)
File "/home/agustin/.local/lib/python3.8/site-packages/easybuild/tools/github.py", line 593, in create_gist
status, data = g.gists.post(body=body)
File "/home/agustin/.local/lib/python3.8/site-packages/easybuild/base/rest.py", line 137, in post
return self.request(self.POST, url, json.dumps(body), headers, content_type='application/json')
File "/home/agustin/.local/lib/python3.8/site-packages/easybuild/base/rest.py", line 174, in request
conn = self.get_connection(method, url, body, headers)
File "/home/agustin/.local/lib/python3.8/site-packages/easybuild/base/rest.py", line 215, in get_connection
connection = self.opener.open(request)
File "/usr/lib/python3.8/urllib/request.py", line 531, in open
response = meth(req, response)
File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response
response = self.parent.error(
File "/usr/lib/python3.8/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found

@agustinaucar
Copy link
Contributor Author

Dear @boegel, Is there something else I can do regarding the inclusion of this new DIRAC version into EB? Thank you for your time and comments!

@akesandgren
Copy link
Contributor

Quick check, does eb --check-github complete successfully? It should since you submitted this PR with the --new-pr argument, but it's worth checking again.

@akesandgren
Copy link
Contributor

BTW, github had some problems a while ago, and you may have been hit by that. Can you (if check-github works) just redo the upload run?

@agustinaucar
Copy link
Contributor Author

Dear @akesandgren, thanks for your very quick response!

eb --check-github does not work, but if I use eb --check-github --github-user $MYUSERNAME I get:

Checking status of GitHub integration...

Making sure we're online...OK

  • GitHub user...agustinaucar => OK
  • GitHub token...ghp..wcy (len: 40) => OK (validated)
  • git command...OK ("git version 2.25.1; ")
  • GitPython module...OK (GitPython version 3.1.27)
  • push access to agustinaucar/easybuild-easyconfigs repo @ GitHub...OK
  • creating gists...FAIL (gist_url: None)
  • location to Git working dirs... not found (suboptimal)

One or more checks FAILed, GitHub configuration not fully complete!
See http://easybuild.readthedocs.org/en/latest/Integration_with_GitHub.html#configuration for help.

Status of GitHub integration:

  • --from-pr: OK
  • --new-pr: OK
  • --review-pr: OK
  • --update-pr: OK
  • --upload-test-report: not supported

@akesandgren
Copy link
Contributor

Ah, if upload-test-report fails you need to follow the instructions for "Installing a GitHub token" on the page it refers to.
And I strongly recommend creating a personal easybuild config file, ~/.config/easybuild/config.cfg, with the required github info, "github-user" and the path to your checked out clones of the easybuild repos "git-working-dirs-path" as per the same page. Also verify the requirements listed at the top for using a github token.

@agustinaucar
Copy link
Contributor Author

@akesandgren : I used the git strategy to send the PR (https://docs.easybuild.io/en/latest/Contributing.html?highlight=contribute#contributing-requests), not the --new-pr argument after eb...

@akesandgren
Copy link
Contributor

akesandgren commented Mar 21, 2022

Ah, using --new-pr (after setting up the github integration parts) is way easier if you think you'll be doing this more than once.

@akesandgren
Copy link
Contributor

But I'll submit a test report to start with.
We'd still appreciate a test report from you if you have the time to set that up.

@agustinaucar
Copy link
Contributor Author

Thank you very much @akesandgren !

I'm trying following the way you suggested, but it seems that I now have some troubles with gist:

~$ eb --check-github
== 2022-03-21 09:30:32,086 build_log.py:227 INFO This is EasyBuild 4.5.3 (framework: 4.5.3, easyblocks: 4.5.3) on host agustin-laptop.
== 2022-03-21 09:30:32,086 build_log.py:230 INFO Command line: --buildpath='/home/agustin/easybuild-easyconfigs/$HOME/easybuild-easyconfigs/build' --check-github --containerpath='/home/agustin/easybuild-easyconfigs/$HOME/easybuild-easyconfigs/containers' --github-user='agustinaucar' --installpath='/home/agustin/easybuild-easyconfigs/$HOME/easybuild-easyconfigs' --logtostdout --packagepath='/home/agustin/easybuild-easyconfigs/$HOME/easybuild-easyconfigs/packages' --prefix='/home/agustin/easybuild-easyconfigs/$HOME/easybuild-easyconfigs' --repositorypath='/home/agustin/easybuild-easyconfigs/$HOME/easybuild-easyconfigs/ebfiles_repo' --sourcepath='/home/agustin/easybuild-easyconfigs/$HOME/easybuild-easyconfigs/sources'
== 2022-03-21 09:30:32,086 build_log.py:232 INFO Using /tmp/eb-icdkstju as temporary directory
== 2022-03-21 09:30:32,086 robot.py:58 INFO Using robot path(s): ['/home/agustin/easybuild-easyconfigs/easybuild/easyconfigs', '/usr/local/easybuild/easyconfigs']
== 2022-03-21 09:30:32,086 options.py:1755 INFO Using default external modules metadata cfg files: ['/usr/local/etc/cray_external_modules_metadata.cfg', '/usr/local/etc/ohpc_external_modules_metadata.cfg']
== 2022-03-21 09:30:32,095 systemtools.py:1147 INFO Found Python version 3.8
== 2022-03-21 09:30:32,095 systemtools.py:1159 INFO Running EasyBuild with Python 3 (version 3.8)
== 2022-03-21 09:30:32,095 filetools.py:2700 INFO /tmp/fake_vsc_i572yy9b moved to /tmp/eb-icdkstju/fake_vsc_i572yy9b
== 2022-03-21 09:30:32,095 hooks.py:113 INFO No location for hooks implementation provided, no hooks defined
== 2022-03-21 09:30:32,095 hooks.py:141 INFO Defined hooks verified, all known hooks:
== 2022-03-21 09:30:32,096 environment.py:91 INFO Environment variable LMOD_QUIET set to 1 (previously undefined)
== 2022-03-21 09:30:32,096 environment.py:91 INFO Environment variable LMOD_IGNORE_CACHE set to 1 (previously undefined)
== 2022-03-21 09:30:32,096 environment.py:91 INFO Environment variable LMOD_REDIRECT set to no (previously undefined)
== 2022-03-21 09:30:32,096 environment.py:91 INFO Environment variable LMOD_EXTENDED_DEFAULT set to no (previously undefined)
== 2022-03-21 09:30:32,096 modules.py:299 INFO Full path for Lmod command is /usr/share/lmod/6.6/libexec/lmod, so using it
== 2022-03-21 09:30:32,096 modules.py:455 INFO Prepended list of module paths with path used by EasyBuild: /home/agustin/easybuild-easyconfigs/$HOME/easybuild-easyconfigs/modules/all
== 2022-03-21 09:30:32,096 run.py:179 INFO Auto-enabling streaming output of 'type module' command because logging to stdout is enabled
== (streaming) output for command 'type module':
== 2022-03-21 09:30:32,096 run.py:233 INFO running cmd: type module
module: es una funcin
module ()
{
eval $($LMOD_CMD bash "$@");
[ $? = 0 ] &amp;&amp; eval $(${LMOD_SETTARG_CMD:-:} -s sh)
}
== 2022-03-21 09:30:32,130 modules.py:240 INFO Found Lmod version 6.6
== 2022-03-21 09:30:32,130 modules.py:248 INFO Converted actual version to '6.6'
== 2022-03-21 09:30:32,130 build_log.py:145 WARNING Deprecated functionality, will no longer work in v5.0: Support for Lmod version < 7.0.0 is deprecated, found version 6.6; see http://easybuild.readthedocs.org/en/latest/Deprecated-functionality.html for more information

WARNING: Deprecated functionality, will no longer work in v5.0: Support for Lmod version < 7.0.0 is deprecated, found version 6.6; see http://easybuild.readthedocs.org/en/latest/Deprecated-functionality.html for more information

== 2022-03-21 09:30:32,131 build_log.py:265 INFO
Checking status of GitHub integration...

Checking status of GitHub integration...

== 2022-03-21 09:30:32,131 build_log.py:265 INFO Making sure we're online...
Making sure we're online...== 2022-03-21 09:30:32,234 build_log.py:265 INFO OK

OK

== 2022-03-21 09:30:32,234 build_log.py:265 INFO * GitHub user...

  • GitHub user...== 2022-03-21 09:30:32,234 build_log.py:265 INFO agustinaucar => OK
    agustinaucar => OK
    == 2022-03-21 09:30:32,234 build_log.py:265 INFO * GitHub token...
  • GitHub token...== 2022-03-21 09:30:32,381 github.py:2163 INFO Successfully obtained GitHub token for user agustinaucar from keyring.
    == 2022-03-21 09:30:32,381 github.py:2220 INFO Sanity check on token passed
    == 2022-03-21 09:30:32,599 github.py:2241 INFO GitHub token can be used for authenticated GitHub access, validation passed
    == 2022-03-21 09:30:32,599 build_log.py:265 INFO ghp..9MP (len: 40) => OK (validated)
    ghp..9MP (len: 40) => OK (validated)
    == 2022-03-21 09:30:32,599 build_log.py:265 INFO * git command...
  • git command...== 2022-03-21 09:30:32,600 filetools.py:525 INFO Command git found at /usr/bin/git
    == 2022-03-21 09:30:32,600 run.py:233 INFO running cmd: git --version
    == 2022-03-21 09:30:32,606 build_log.py:265 INFO OK ("git version 2.25.1; ")
    OK ("git version 2.25.1; ")
    == 2022-03-21 09:30:32,606 build_log.py:265 INFO * GitPython module...
  • GitPython module...== 2022-03-21 09:30:32,606 build_log.py:265 INFO OK (GitPython version 3.1.27)
    OK (GitPython version 3.1.27)
    == 2022-03-21 09:30:32,606 build_log.py:265 INFO * push access to agustinaucar/easybuild-easyconfigs repo @ GitHub...
  • push access to agustinaucar/easybuild-easyconfigs repo @ GitHub...== 2022-03-21 09:30:32,607 filetools.py:1882 INFO Creating directory /tmp/eb-icdkstju/git-working-dir9yhcba2m/easybuild-easyconfigs (parents: True, set_gid: False, sticky: False)
    == 2022-03-21 09:30:54,734 build_log.py:265 INFO OK
    OK
    == 2022-03-21 09:30:56,694 build_log.py:265 INFO * creating gists...
  • creating gists...== 2022-03-21 09:30:57,000 github.py:2093 WARNING Exception occurred when trying to create & delete gist: HTTP Error 404: Not Found
    == 2022-03-21 09:30:57,000 build_log.py:265 INFO FAIL (gist_url: None)
    FAIL (gist_url: None)
    == 2022-03-21 09:30:57,000 build_log.py:265 INFO * location to Git working dirs...
  • location to Git working dirs... == 2022-03-21 09:30:57,000 build_log.py:265 INFO not found (suboptimal)
    not found (suboptimal)
    == 2022-03-21 09:30:57,000 build_log.py:265 INFO
    One or more checks FAILed, GitHub configuration not fully complete!
    See http://easybuild.readthedocs.org/en/latest/Integration_with_GitHub.html#configuration for help.

One or more checks FAILed, GitHub configuration not fully complete!
See http://easybuild.readthedocs.org/en/latest/Integration_with_GitHub.html#configuration for help.

== 2022-03-21 09:30:57,000 build_log.py:265 INFO Status of GitHub integration:
Status of GitHub integration:
== 2022-03-21 09:30:57,001 build_log.py:265 INFO * --from-pr: OK

  • --from-pr: OK
    == 2022-03-21 09:30:57,001 build_log.py:265 INFO * --new-pr: OK
  • --new-pr: OK
    == 2022-03-21 09:30:57,001 build_log.py:265 INFO * --review-pr: OK
  • --review-pr: OK
    == 2022-03-21 09:30:57,001 build_log.py:265 INFO * --update-pr: OK
  • --update-pr: OK
    == 2022-03-21 09:30:57,001 build_log.py:265 INFO * --upload-test-report: not supported
  • --upload-test-report: not supported

@akesandgren
Copy link
Contributor

Test report by @akesandgren
SUCCESS
Build succeeded for 2 out of 2 (2 easyconfigs in total)
b-an02.hpc2n.umu.se - Linux Ubuntu 20.04, x86_64, Intel(R) Xeon(R) CPU E5-2690 v4 @ 2.60GHz, Python 3.8.10
See https://gist.github.com/d971c746140869b744f97e612dd112d7 for a full test report.

@agustinaucar
Copy link
Contributor Author

I do use ~/.config/easybuild/config.cfg with

[basic]
# always enable logging to stdout
logtostdout = true
[config]
# use Lmod as modules tool
modules-tool: Lmod
# use different default installation path
prefix=$HOME/easybuild-easyconfigs/
# user
github-user=agustinaucar
git-working-dirs-path=$HOME/easybuild-easyconfigs/

easybuild/easyconfigs/d/DIRAC/DIRAC-22.0-foss-2021a.eb Outdated Show resolved Hide resolved
easybuild/easyconfigs/d/DIRAC/DIRAC-22.0-foss-2021a.eb Outdated Show resolved Hide resolved

separate_build_dir = True

configopts = ' -DCMAKE_Fortran_COMPILER=mpif90 '
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be needed, with "usempi" true, FC = mpif90 (or mpiifort in the case of the intel toolchain)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @akesandgren. I just realized that when we set "usempi" to true and we use the intel toolchain, FC is set to be mpif90 (and we have mpicc and mpicxx for C and C++ compilers, respectively).

I mean, the mpiifort (and equivalents for c and cxx) are expected to be recognized automatically, but they are not. Is it probably due to a bug in the code?

Maybe the bug is in this file: https://gitlab.com/dirac/dirac/-/blob/master/cmake/extensions.py

All the cmake lines are here: https://gitlab.com/dirac/dirac/-/tree/master/cmake

Do you suggest to restore:

configopts  = ' -DCMAKE_Fortran_COMPILER=mpiifort '
configopts += '-DCMAKE_C_COMPILER=mpiicc '
configopts += '-DCMAKE_CXX_COMPILER=mpiicpc '

in the intel's *eb file? If it is something simple (I am not a CMake expert), perhaps it is better to solve the bug directly in the code.

CC: @boegel

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, try doing that for the intel version and check if it does the right thing all the way through.

Not quite sure what that extensions.py code is used for...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tks Åke! It is ok now. PR at #15202

easybuild/easyconfigs/d/DIRAC/DIRAC-22.0-foss-2021a.eb Outdated Show resolved Hide resolved
easybuild/easyconfigs/d/DIRAC/DIRAC-22.0-foss-2021a.eb Outdated Show resolved Hide resolved
easybuild/easyconfigs/d/DIRAC/DIRAC-22.0-foss-2021a.eb Outdated Show resolved Hide resolved
easybuild/easyconfigs/d/DIRAC/DIRAC-22.0-foss-2021a.eb Outdated Show resolved Hide resolved
easybuild/easyconfigs/d/DIRAC/DIRAC-22.0-foss-2021a.eb Outdated Show resolved Hide resolved
@agustinaucar
Copy link
Contributor Author

Test report by @agustinaucar
SUCCESS
Build succeeded for 2 out of 2 (2 easyconfigs in total)
agustin-laptop - Linux Ubuntu 20.04, x86_64, Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz, Python 3.8.10
See https://gist.github.com/4972c5a6d513f126a8b6631b94a76b60 for a full test report.

@agustinaucar
Copy link
Contributor Author

Thank you @akesandgren for your patiente and for all your help!

easybuild/easyconfigs/d/DIRAC/DIRAC-22.0-foss-2021a.eb Outdated Show resolved Hide resolved
configopts += '-DENABLE_64BIT_INTEGERS=False '
configopts += '-DENABLE_EXATENSOR=off '
configopts += '-DENABLE_PCMSOLVER=off '
configopts += '-G"Unix Makefiles" '
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not needed usually, and if the DIRAC CMake config wants to use something else by default we should probably allow it, and if necessary add any required buildsdependencies, like Ninja possibly.

Copy link
Contributor Author

@agustinaucar agustinaucar Mar 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure about this. Usually, the DIRAC community employes the code without need of using the "PCMSolver" and/or the "EXATensor" modules. We also use the 32bit version compilation in most of the cases.

But there are particular situations where 64bits compilations are needed (and only for them it is reccommended to compile the code in this way), and there are also some research lines where EXATensor and/or PCMSolver are needed.

So, I left these 3 lines so that we can do other builds when needed.

Concerning the last line:

configopts += '-G"Unix Makefiles" ',

I am not sure if we need or not to leave it.

Thank you @akesandgren !

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is what you need, and only this for the foss based one.

# Must explicitly turn MKL off
configopts = '-DMKL_FLAG=off '
configopts += '-DMATH_LIBS="$LIBLAPACK" '
configopts += '-DENABLE_MPI=True '
configopts += '-DENABLE_EXATENSOR=off '
configopts += '-DENABLE_PCMSOLVER=off '

unless we want to explicitly enable openmp, in which case you will need

-DENABLE_OPENMP=True

and in that case one should also add 'openmp': True to the toolchainopts.

@agustinaucar
Copy link
Contributor Author

Test report by @agustinaucar
SUCCESS
Build succeeded for 2 out of 2 (2 easyconfigs in total)
agustin-laptop - Linux Ubuntu 20.04, x86_64, Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz, Python 3.8.10
See https://gist.github.com/8719a33022189da6c51b93354f203b58 for a full test report.

configopts += '-DENABLE_64BIT_INTEGERS=False '
configopts += '-DENABLE_EXATENSOR=off '
configopts += '-DENABLE_PCMSOLVER=off '
configopts += '-G"Unix Makefiles" '
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is what you need, and only this for the foss based one.

# Must explicitly turn MKL off
configopts = '-DMKL_FLAG=off '
configopts += '-DMATH_LIBS="$LIBLAPACK" '
configopts += '-DENABLE_MPI=True '
configopts += '-DENABLE_EXATENSOR=off '
configopts += '-DENABLE_PCMSOLVER=off '

unless we want to explicitly enable openmp, in which case you will need

-DENABLE_OPENMP=True

and in that case one should also add 'openmp': True to the toolchainopts.

easybuild/easyconfigs/d/DIRAC/DIRAC-22.0-intel-2021a.eb Outdated Show resolved Hide resolved
@agustinaucar
Copy link
Contributor Author

OK tks. It is done. Now I'm testing again.

@agustinaucar
Copy link
Contributor Author

Test report by @agustinaucar
SUCCESS
Build succeeded for 2 out of 2 (2 easyconfigs in total)
agustin-laptop - Linux Ubuntu 20.04, x86_64, Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz, Python 3.8.10
See https://gist.github.com/0fba9565c8c9bbb57b2757253263c7e7 for a full test report.

@agustinaucar
Copy link
Contributor Author

Only some DIRAC users need to compile the code employing OpenMP, so I think it is not needed for a "usual" compilation. My suggestion is that who needs it can build its own compilation.

@akesandgren
Copy link
Contributor

Test report by @akesandgren
SUCCESS
Build succeeded for 2 out of 2 (2 easyconfigs in total)
b-an02.hpc2n.umu.se - Linux Ubuntu 20.04, x86_64, Intel(R) Xeon(R) CPU E5-2690 v4 @ 2.60GHz, Python 3.8.10
See https://gist.github.com/10cac12b18ab1b2b4ce023354c8e84ea for a full test report.

@akesandgren
Copy link
Contributor

@boegelbot Please test @ generoso

@boegelbot
Copy link
Collaborator

@akesandgren: Request for testing this PR well received on login1

PR test command 'EB_PR=15008 EB_ARGS= /opt/software/slurm/bin/sbatch --job-name test_PR_15008 --ntasks=4 ~/boegelbot/eb_from_pr_upload_generoso.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 8295

Test results coming soon (I hope)...

- notification for comment with ID 1076013919 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

@boegelbot
Copy link
Collaborator

Test report by @boegelbot
SUCCESS
Build succeeded for 2 out of 2 (2 easyconfigs in total)
cns1 - Linux Rocky Linux 8.5, x86_64, Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz (haswell), Python 3.6.8
See https://gist.github.com/42040f0b276b51332c31dcec24bfc9bd for a full test report.

@agustinaucar
Copy link
Contributor Author

Hi @akesandgren and @boegel, thank you to both of you for all your help. Do you think DIRAC-22.0 could be available in the next EasyBuild release?

Copy link
Contributor

@akesandgren akesandgren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@akesandgren akesandgren modified the milestones: 4.x, next release (4.5.4) Mar 25, 2022
@akesandgren
Copy link
Contributor

Going in, thanks @agustinaucar!

@akesandgren akesandgren merged commit f642add into easybuilders:develop Mar 25, 2022
@akesandgren
Copy link
Contributor

Since it is now merged it will be in the next release.

@agustinaucar
Copy link
Contributor Author

agustinaucar commented Mar 25, 2022 via email

@agustinaucar agustinaucar deleted the DIRAC22 branch March 29, 2022 06:45
@agustinaucar agustinaucar restored the DIRAC22 branch March 29, 2022 08:06
@agustinaucar
Copy link
Contributor Author

Test report by @agustinaucar
SUCCESS
Build succeeded for 2 out of 2 (2 easyconfigs in total)
agustin-laptop - Linux Ubuntu 20.04, x86_64, Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz, Python 3.8.10
See https://gist.github.com/a0bc4b944b8bcd3d78e962fb444ac353 for a full test report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants