Skip to content

{cae}[foss/2017b] OpenFOAM 4.1 (REVIEW)#5344

Closed
renatopancheri wants to merge 58 commits intoeasybuilders:developfrom
renatopancheri:20171115165231_new_pr_OpenFOAM41
Closed

{cae}[foss/2017b] OpenFOAM 4.1 (REVIEW)#5344
renatopancheri wants to merge 58 commits intoeasybuilders:developfrom
renatopancheri:20171115165231_new_pr_OpenFOAM41

Conversation

@renatopancheri
Copy link
Copy Markdown
Contributor

(created using eb --new-pr)

renatopancheri and others added 30 commits November 15, 2017 17:52
@easybuilders easybuilders deleted a comment from boegelbot Dec 27, 2017
@easybuilders easybuilders deleted a comment from boegelbot Dec 27, 2017
@easybuilders easybuilders deleted a comment from boegelbot Dec 27, 2017
@easybuilders easybuilders deleted a comment from boegelbot Dec 27, 2017
@easybuilders easybuilders deleted a comment from boegelbot Dec 27, 2017
configopts += "-DBLAS_INCLUDE_DIR=$EBROOTOPENBLAS/include "
configopts += "-DBLAS_LIBRARIES=$EBROOTOPENBLAS/lib/libopenblas.%s " % SHLIB_EXT
configopts += "-DLAPACK_INCLUDE_DIR=$EBROOTSCALAPACK/include "
configopts += "-DLAPACK_LIBRARIES=$EBROOTSCALAPACK/lib/libscalapack.a "
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.

There's a lot of stuff here that could/should be handled by the CGAL easyblock instead...

configopts += "-DBLAS_LIBRARIES=$EBROOTOPENBLAS/lib/libopenblas.%s " % SHLIB_EXT
configopts += "-DLAPACK_INCLUDE_DIR=$EBROOTSCALAPACK/include "
configopts += "-DLAPACK_LIBRARIES=$EBROOTSCALAPACK/lib/libscalapack.a "
moduleclass = 'numlib'
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.

style remark: missing empty line above

('X11', '20171023'),
('Mesa', '17.2.5'),
('libGLU', '9.0.0'),
('Qt', '4.8.7'),
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.

@renatopancheri Can/should we also use Qt5 here?

configopts += '-DVTK_WRAP_PYTHON=ON -DPARAVIEW_ENABLE_MATPLOTLIB=ON '
configopts += '-DPARAVIEW_QT_VERSION=4 -DQT_QMAKE_EXECUTABLE=$EBROOTQT/bin/qmake '
# if you want to build server only Paraview, uncomment the following line:
configopts += '-DVTK_USE_X=OFF '
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.

@renatopancheri Existing ParaView easyconfigs have this commented out, could you do that here too?

@boegel
Copy link
Copy Markdown
Member

boegel commented Jan 11, 2018

Test report by @boegel
FAILED
Build succeeded for 6 out of 8 (8 easyconfigs in this PR)
node2428.golett.os - Linux centos linux 7.4.1708, Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz, Python 2.7.5
See https://gist.github.com/6d50fe23691915417265d07f6636ea67 for a full test report.

@boegel
Copy link
Copy Markdown
Member

boegel commented Jan 11, 2018

Test report by @boegel
FAILED
Build succeeded for 6 out of 8 (8 easyconfigs in this PR)
node2133.delcatty.os - Linux centos linux 7.4.1708, Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz, Python 2.7.5
See https://gist.github.com/57ebdc2a7d3749eb2e9eef5a542367d0 for a full test report.

@boegel
Copy link
Copy Markdown
Member

boegel commented Jan 18, 2018

Test report by @boegel
FAILED
Build succeeded for 7 out of 8 (8 easyconfigs in this PR)
node2061.delcatty.os - Linux centos linux 7.4.1708, Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz, Python 2.7.5
See https://gist.github.com/062538b0c7b737f116992093a0e592c3 for a full test report.

@boegel
Copy link
Copy Markdown
Member

boegel commented Jan 18, 2018

Test report by @boegel
FAILED
Build succeeded for 7 out of 8 (8 easyconfigs in this PR)
node2570.golett.os - Linux centos linux 7.4.1708, Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz, Python 2.7.5
See https://gist.github.com/e52cc8764a157da2f524600d36f7e2eb for a full test report.

@boegel boegel changed the title New EasyConfigs for OpenFOAM with the foss-2017b toolchain {cae}[foss/2017b] OpenFOAM 4.1 (REVIEW) Jan 19, 2018
@boegel
Copy link
Copy Markdown
Member

boegel commented Jan 19, 2018

This seems to be the actual issue in the failing test report:

CMake Error at CMakeLists.txt:45 (QT4_WRAP_CPP):
  Unknown CMake command "QT4_WRAP_CPP".


-- Configuring incomplete, errors occurred!
See also "/xxx/software/OpenFOAM/4.1-foss-2017b/OpenFOAM-4.1/applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/PVblockMeshReader/Make/linux64GccDPInt32Opt/CMakeFiles/CMakeOutput.log".
make[2]: *** [PVReaders] Error 1
make[1]: *** [graphics] Error 2

This tells me that OpenFOAM 4.1 isn't happy with the use of Qt5, and it requires Qt 4.x instead?

Did this actually work for you @renatopancheri?

@boegel
Copy link
Copy Markdown
Member

boegel commented Jan 19, 2018

Some more info:

 $ grep -R QT4_WRAP_CPP /xxx/software/OpenFOAM/4.1-foss-2017b/
/xxx/software/OpenFOAM/4.1-foss-2017b/OpenFOAM-4.1/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/PVFoamReader/CMakeLists.txt:QT4_WRAP_CPP(MOC_SRCS pqPVFoamReaderPanel.h)
/xxx/software/OpenFOAM/4.1-foss-2017b/OpenFOAM-4.1/applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/PVblockMeshReader/CMakeLists.txt:QT4_WRAP_CPP(MOC_SRCS pqPVblockMeshReaderPanel.h)
/xxx/software/OpenFOAM/4.1-foss-2017b/OpenFOAM-4.1/applications/utilities/postProcessing/graphics/PV3Readers/PV3FoamReader/PV3FoamReader/CMakeLists.txt:QT4_WRAP_CPP(MOC_SRCS pqPV3FoamReaderPanel.h)
/xxx/software/OpenFOAM/4.1-foss-2017b/OpenFOAM-4.1/applications/utilities/postProcessing/graphics/PV3Readers/PV3blockMeshReader/PV3blockMeshReader/CMakeLists.txt:QT4_WRAP_CPP(MOC_SRCS pqPV3blockMeshReaderPanel.h)

builddependencies = [
('CMake', '3.9.5'),
('Eigen', '3.3.4', '', True),
('Qt5', '5.9.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.

@renatopancheri You may need to move this back to Qt 4.8.7 too?

@renatopancheri
Copy link
Copy Markdown
Contributor Author

with my machine it builds using Qt4 and not with Qt5

  • /applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/PVblockMeshReader/CMakeLists.txt:45:

    QT4_WRAP_CPP`

-https://openfoam.org/download/source/software-for-compilation/

Note: If Qt 5 is also installed in Ubuntu, the following should be executed before running makeParaView:
export QT_SELECT=qt4

those 2 reasons made me go back to Qt4

@migueldiascosta
Copy link
Copy Markdown
Member

@renatopancheri is this still relevant?

@migueldiascosta
Copy link
Copy Markdown
Member

@renatopancheri, this PR is being closed for the following reason(s): no activity for > 6 months, obsoleted by more recent PRs.
Please don't hesitate to reopen this PR or add a comment if you feel this contribution is still relevant.
For more information on our policy w.r.t. closing PRs, see https://easybuild.readthedocs.io/en/latest/Contributing.html#why-a-pull-request-may-be-closed-by-a-maintainer

@migueldiascosta migueldiascosta added this to the 3.x milestone May 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants