Skip to content

Openfoam extend 3.2 update#770

Merged
boegel merged 8 commits intoeasybuilders:developfrom
wpoely86:openfoam-extend
Dec 15, 2015
Merged

Openfoam extend 3.2 update#770
boegel merged 8 commits intoeasybuilders:developfrom
wpoely86:openfoam-extend

Conversation

@wpoely86
Copy link
Copy Markdown
Member

Add support for openfoam-extend 3.2

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

hold on, did this actually disappear, or are you ignored something that went wrong during the build?

references?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I cannot find a reference to it anymore in any Makefile. Test build works.
The src dir for it is also gone.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

does using it also work?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Haven't run a complete test suite but as far as I can tell, it works

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I can't find anything on Pstream disappearing, and since this check is relatively recent (and not having the libPstream libraries went undetected for a while), cfr. https://github.com/hpcugent/easybuild-easyblocks/pull/436/files#diff-0edc74d66adc49c07871a687be0ef167R212, I'd like to get confirmation of this somehow...

I don't see any mention of Pstream in the OpenFOAM-Extend 3.2 release notes (http://sourceforge.net/p/openfoam-extend/foam-extend-3.1/ci/v3.2/tree/ReleaseNotes.txt), so it's fishy to me that this just disappeared...

Maybe @besserox has an idea?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The Pstream library has apparently been removed in this commit:
http://sourceforge.net/p/foam-extend/foam-extend-3.2/ci/4c23c3f9e812674bf54b6a26e58f32511bb6af69/

It looks like it is now integrated in the main foam library.

What is important to check is that OpenFoam executables and libraries (eg libfoam.so) are actually linked to the MPI library of the toolchain, and not the one from the ThirdParty directory that they provide.
Running ldd lib/linux64GccDPOpt/libfoam.so should help to check this.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This sounds like an additional sanity check command to me. @wpoely86?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Will see if I can manage something but as I disable all third party stuff, this is extremely unlikely to happen.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Doesn't hurt to have an extra sanity check for this imho, we've missed it before, we may introduce a bug that breaks it again...

@boegel
Copy link
Copy Markdown
Member

boegel commented Dec 11, 2015

@wpoely86: any idea how this will blend with #744 ?

@boegel boegel added this to the v2.5.0 milestone Dec 11, 2015
@wpoely86
Copy link
Copy Markdown
Member Author

It will clash, hence my request to merge it first. I will merge develop in here then

@boegel
Copy link
Copy Markdown
Member

boegel commented Dec 11, 2015

@wpoely86: there are a couple of minor style remarks there, but it works, so should go in soon

@hpcugentbot
Copy link
Copy Markdown

Easyblocks unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-easyblocks-pr-builder/1474/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.

@hpcugentbot
Copy link
Copy Markdown

Easyblocks unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-easyblocks-pr-builder/1475/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 Dec 14, 2015

* develop: (37 commits)
  remove unused import
  don't set $GXX_ROOT, it breaks icpc finding C++ header files (undoes easybuilders#747 and easybuilders#771)
  Sytle corrected
  remove workaround for $CPATH including icc's 'include' subdir
  update $CPATH to include path to GCC C++ headers (complex.h)
  call configure/build scripts with 'python' to dance around /usr/bin/python hardcoding
  fix typo
  fix remarks
  add support for specifying altroot/altversion in Bundle easyblock
  enable -verbose
  update MRtrix easyblock for v0.3.x
  add easyblock for MRtrix
  move defining $GXX_ROOT to icc easyblock, only needed for icc/ifort
  improved implementation of determining value for $GXX_ROOT
  parse output of 'g++ --print-search-dirs' in Python
  Fix minor style issues, add copyright
  remove unused import
  if -> elif
  Add silent_cfg_extras variable
  Add i686 platform checking for IPP
  ...
@hpcugentbot
Copy link
Copy Markdown

Easyblocks unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-easyblocks-pr-builder/1506/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.

@wpoely86
Copy link
Copy Markdown
Member Author

@boegel It's ready for testing

Comment thread easybuild/easyblocks/o/openfoam.py Outdated
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I knew I had a reason for using dicts. This currently doesn't work due to this line. I don't see what's so weird about not using every key in every string formatting. It's what dicts are for?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

just hoist this out of the for loop below, and replace with:

env.setvar('%s_SYSTEM' % dep_name, '1')

@besserox
Copy link
Copy Markdown
Contributor

BTW, thanks for working on this one. I will need it very soon.
I hope it will make it in EasyBuild 2.5 :-)

@boegel
Copy link
Copy Markdown
Member

boegel commented Dec 14, 2015

@besserox: it's going to be tight, but still being considered

@hpcugentbot
Copy link
Copy Markdown

Easyblocks unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-easyblocks-pr-builder/1514/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.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

not so sure about this one... this is bound to break existing builds?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

no, only used in openfoam-extend 3.2 so far

style fixes in OpenFOAM easyblock
@hpcugentbot
Copy link
Copy Markdown

Easyblocks unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-easyblocks-pr-builder/1515/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.

@hpcugentbot
Copy link
Copy Markdown

Easyblocks unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-easyblocks-pr-builder/1516/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 Dec 15, 2015

Tested thoroughly with existing OpenFOAM(-Extend) easyconfigs + new OpenFOAM(-Extend) easyconfigs in easybuilders/easybuild-easyconfigs#2023, easybuilders/easybuild-easyconfigs#2048, easybuilders/easybuild-easyconfigs#2142 and easybuilders/easybuild-easyconfigs#2216.

So, good to go, thanks @wpoely86!

boegel added a commit that referenced this pull request Dec 15, 2015
@boegel boegel merged commit a77fec2 into easybuilders:develop Dec 15, 2015
@wpoely86 wpoely86 deleted the openfoam-extend branch December 16, 2015 08:56
boegel added a commit to boegel/easybuild-easyblocks that referenced this pull request Dec 17, 2015
@wpoely86 wpoely86 restored the openfoam-extend branch December 17, 2015 14:41
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.

4 participants