Skip to content

Add cleanup in easyblock of OpenFoam#780

Merged
boegel merged 4 commits intoeasybuilders:developfrom
wpoely86:openfoam-addclean
Sep 15, 2017
Merged

Add cleanup in easyblock of OpenFoam#780
boegel merged 4 commits intoeasybuilders:developfrom
wpoely86:openfoam-addclean

Conversation

@wpoely86
Copy link
Copy Markdown
Member

No description provided.

@wpoely86 wpoely86 added this to the v2.6.0 milestone Dec 16, 2015
@boegel
Copy link
Copy Markdown
Member

boegel commented Dec 16, 2015

This requires retesting all OpenFOAM(-Extend) builds, so assigning 2.6.0 milestone on this...

@hpcugentbot
Copy link
Copy Markdown

Easyblocks unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-easyblocks-pr-builder/1526/console for more details).

This pull request is now ready for review/testing.

Please try and find someone who can tackle this; contact @boegel if you're not sure what to do.

@boegel
Copy link
Copy Markdown
Member

boegel commented Jan 23, 2016

ping on retesting?

@boegel boegel modified the milestones: v2.7.0, v2.6.0 Jan 23, 2016
@boegel
Copy link
Copy Markdown
Member

boegel commented Mar 9, 2016

@wpoely86: reping...

@boegel boegel modified the milestones: v2.8.0, v2.7.0 Mar 9, 2016
* develop: (162 commits)
  Check only for key jar files to remove complicated checking logic for different versions
  Move log message
  Overwrite MakeCp options for mutil
  Rework rename & cp in makecp
  Rework mutil block
  Bugfix for makecp
  Moved some jar file sanity checks.
  ensure list of Python lib dirs always has a 'lib/...' entry
  Extend version of makecp: add support for renaming
  Easyblock for mutil
  fix bug in copying back libraries for GATE 6.1 and earlier
  use a loop
  also define $LD in buildopts for GATE
  added @author lucamar (I don't want to be sued)
  added cuda support directly to cp2k.py easyblock
  added cuda support directly to cp2k.py easyblock
  cp2k cray support
  more style fixes in MPICH easyblock
  fix remarks
  admit that @besserox was right
  ...
@hpcugentbot
Copy link
Copy Markdown

Easyblocks unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-easyblocks-pr-builder/1791/console for more details).

This pull request is now ready for review/testing.

Please try and find someone who can tackle this; contact @boegel if you're not sure what to do.

@boegel
Copy link
Copy Markdown
Member

boegel commented Mar 9, 2016

@besserox: thoughts on this?

@besserox
Copy link
Copy Markdown
Contributor

@wpoely86 Can you elaborate on why it is necessary to do this?

Doesn't EasyBuild remove any previous install before building?
Or does the downloaded tarball come unclean?

@wpoely86
Copy link
Copy Markdown
Member Author

@besserox It's not clear to me. It's part of several easyconfigs for OpenFoam-Extend and @boegel asked to put it in the block.

Under most normal circumstances, this should do nothing but it doesn't hurt either.

@besserox
Copy link
Copy Markdown
Contributor

OK. It should not hurt.

Do you have a PR to remove these lines from the easyconfigs?

@wpoely86
Copy link
Copy Markdown
Member Author

There is now: easybuilders/easybuild-easyconfigs#2689

@boegel boegel modified the milestones: v2.8.0, v2.9.0 May 10, 2016
@boegel boegel modified the milestones: v2.x, v2.9.0, v3.0 Sep 19, 2016
@boegel boegel modified the milestones: v3.0, v3.1 Nov 13, 2016
@boegel boegel modified the milestones: 3.1.0, 3.2.0 Jan 30, 2017
@boegel boegel modified the milestones: 3.2.0, 3.3.0 May 2, 2017
@boegel boegel modified the milestones: 3.3.0, 3.x Jun 22, 2017
@akesandgren
Copy link
Copy Markdown
Contributor

wcleanAll is indeed needed under certain situations. Like adding patches that adds new include files for instance. So yes, please include this.
Although a simple wcleanAll without the "|| echo" stuff is quite sufficient.

* origin/develop: (793 commits)
  bump version to v3.5.0dev
  bump version to 3.4.0 + minor edits in release notes
  avoid always including /usr/include to $CPATH in icc module
  prepare release notes for eb340
  fix function signature for fetch_extension_sources in OCaml easyblock
  fix defining self.subdir in MCR easyblock
  minor style fixes + clearer commnents in MCR easyblock
  Adjust permissions for directories in suitesparse. Fixes easybuilders#1157.
  fix grabbing output of 'gcc -print-multiarch'
  enhance icc easyblock to inlude multipath include dir in $CPATH
  revert unintended/premature changes to icc.py
  fix specifying -DOPENGL_gl_LIBRARY for recent versions of ROOT
  strip off leading 'v' in ROOT version when comparing with a specific version number
  update ROOT easyblock to support recent versions that require using CMake, add sanity check, clean up/enhance make_module*
  fixing when sanity_check is not run and the subdirectory is not found
  more fixes to mcr.py
  Modified code to find the subdirectory so that it uses patterns. Also moved it to its own function so that it can be called in either the sanity_check_step or the make_module_extra step
  update MRtrix easyblock for 3.0 & beyond + use copy function
  reinstalling MCR with --module-only results in the wrong value for MCRROOT because it discovers the subdir only during the install step. This patch fixes this
  added a call to super post_install_step for cuda recipe. Otherwise postinstallcmds are ignored.
  ...
@wpoely86
Copy link
Copy Markdown
Member Author

OK, lets gets is old PR merged then!

We should clean up the easyconfigs too but it doesn't hurt to already merge this. In the worst case, the clean is done twice.

@wpoely86 wpoely86 requested a review from boegel September 13, 2017 07:30
@boegel boegel modified the milestones: 3.x, 3.4.1 Sep 15, 2017
@boegel
Copy link
Copy Markdown
Member

boegel commented Sep 15, 2017

Testing this with existing OpenFOAM easyconfigs...

@boegel
Copy link
Copy Markdown
Member

boegel commented Sep 15, 2017

Checks out, no problems encountered when testing with existing OpenFOAM and OpenFOAM-Extend easyconfigs, so going in, thanks @wpoely86!

@boegel
Copy link
Copy Markdown
Member

boegel commented Sep 25, 2017

So apparently my checking of this wasn't thorough enough, since wcleanAll is not available anymore for recent OpenFOAM versions, it has been replaced by wcleanPlatform -all (cfr. OpenFOAM/OpenFOAM-4.x@119708e)...

It seems like wcleanPlatform -all should be used for OpenFOAM 4.x , but not for OpenFOAM-Extend 4.x...

Fix in #1258

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants