Skip to content

code style fixes in OpenFOAM easyblock#253

Merged
boegel merged 14 commits intoeasybuilders:developfrom
boegel:openfoam_mumps
Apr 30, 2014
Merged

code style fixes in OpenFOAM easyblock#253
boegel merged 14 commits intoeasybuilders:developfrom
boegel:openfoam_mumps

Conversation

@boegel
Copy link
Copy Markdown
Member

@boegel boegel commented Sep 20, 2013

The OpenFOAM easyblock was touched during the build of OpenFOAM-1.6-ext, but nothing was changed except for code style fixes.
The MUMPS easyblock was ported from an old implementation, and further enhanced (to add support for building with GCC).

Comment thread easybuild/easyblocks/m/mumps.py Outdated
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.

Why call this function twice? It's also called at L56.
I think this hints at possibility for code factorization (ie. merge the two if-elif-else constructs or something of that type)

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.

Very good point, I overlooked this during porting/enhancing this easyblock. Fixed it, thanks.

@boegel boegel mentioned this pull request Oct 2, 2013
@boegel
Copy link
Copy Markdown
Member Author

boegel commented Oct 2, 2013

I need to check the weird stuff in the OpenFOAM easyblock again... Using a sensible value OPENMPI results in a broken build, while using the setting MPI-MVAPICH2 works but shouldn't be recognized by OpenFOAM...

I've forked of the MUMPS easyblocks that's ready to merge in, see #262.

@JensTimmerman
Copy link
Copy Markdown

Jenkins: test this please

@JensTimmerman
Copy link
Copy Markdown

hmm, new test passes, but for some reason jenkins isn't updating this new build status.

@JensTimmerman
Copy link
Copy Markdown

It didn't update because I changed the permissions of the bot
Jenkins: test this please again

@boegel boegel modified the milestones: v1.x, v1.10 Feb 11, 2014
@boegel
Copy link
Copy Markdown
Member Author

boegel commented Mar 18, 2014

Jenkins: test this please

1 similar comment
@boegel
Copy link
Copy Markdown
Member Author

boegel commented Mar 18, 2014

Jenkins: test this please

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Mar 18, 2014

Hmm, Jenkins fails to pick up the last commit, for some reason...

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Mar 18, 2014

rebased this on develop to get it properly tested

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Apr 3, 2014

needs to be fully tested again, no time for it now, maybe for EB v1.13

@boegel boegel modified the milestone: v1.x Apr 3, 2014
@Bart-Ver
Copy link
Copy Markdown

v2.3.0 installed, seems to work OK.

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.

this needs to be cleaned up... why didn't this work with run_cmd_qa!?

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Apr 30, 2014

Retested with all existing (and new) OpenFOAM easyconfigs, fixed a couple of minor issues down the road.
All builds, including the new ones in easybuilders/easybuild-easyconfigs#437, work now, so I'm merging this in (reviewed & tested by others, and it has been open for long enough already...).

boegel added a commit that referenced this pull request Apr 30, 2014
code style fixes in OpenFOAM easyblock
@boegel boegel merged commit 015d20e into easybuilders:develop Apr 30, 2014
@boegel boegel deleted the openfoam_mumps branch April 30, 2014 15:22
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