Ticket #5379 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

Build Vates & Paraview on OS X

Reported by: Martyn Gigg Owned by: Martyn Gigg
Priority: critical Milestone: Release 2.2
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Russell Taylor

Description


Change History

comment:1 Changed 8 years ago by Martyn Gigg

Vates should now build on OS X. Refs #5379

Changes required so that the final bundle has the correct library links to ParaView in the pvplugins.

Changeset: 3999f28b8ebf35945c0d5ae8e9b759a0c294a4ad

comment:2 Changed 8 years ago by Martyn Gigg

Add message to FixBundle to aid debugging. Refs #5379

Changeset: 7a02be16b0f600f4cae1298209bff60f7f657070

comment:3 Changed 8 years ago by Martyn Gigg

Change paraview check call. Refs #5379

It did call -V which ends up starting a GUI briefly and is quite slow on OS X. Changed to --help as this is faster and we don't grab anything from the version string anyway.

Changeset: dcdbf931f0ddfae37580d9672c140df7f640334d

comment:4 Changed 8 years ago by Martyn Gigg

Make sure the Vates section of FixBundle.cmake is run. Refs #5379

CPack doesn't seem to know about some of CMake's variables. Using the variable directy now.

Changeset: 04b26ebbd273bcc4b459aacf749564734f890326

comment:5 Changed 8 years ago by Nick Draper

  • Owner set to Owen Arnold
  • Status changed from new to assigned

comment:6 Changed 8 years ago by Russell Taylor

On RHEL6, you now get the output of 'paraview --help' printed to the console when starting Mantid:

  --connect-id=opt      Set the ID of the server and client to make sure they match.

  --cslog=opt           ClientServerStream log file.

  --data=opt            Load the specified data. To specify file series replace the numeral with a '.' eg. my0.vtk, my1.vtk...myN.vtk becomes my..vtk

  --data-directory=opt  Set the data directory where test-case data are.

  --disable-light-kit   When present, disables light kit by default. Useful for dashboard tests.

etc.....

comment:7 Changed 8 years ago by Martyn Gigg

Ah, yes of course. It used to print the version string but I guess that was less intrusive. I'll look at it

comment:8 Changed 8 years ago by Martyn Gigg

Fix setting PV_PLUGIN_PATH in ConfigService. Refs #5379

The relative path was wrong for OS X. It now just uses the key in the properties file. Also quietened the output of querying paraview by capturing the stderr as well.

Changeset: 6bc1fa4aae1a895c21f6c1151347e3445fac4d64

comment:9 Changed 8 years ago by Martyn Gigg

Correction for PV_PLUGIN_PATH. Refs #5379

It should point to the sub-directory.

Changeset: 6a612b553bd286eb7c9613eedc04477ff04b6646

comment:10 Changed 8 years ago by Martyn Gigg

Add a custom Info.plist file for OS X. Refs #5379

This sets the library search path for ParaView before the application starts and allows the ParaView plugins to pick up the paraview libraries.

Changeset: 698919777a76cfd415b2ce01f828512520bd61a5

comment:11 Changed 8 years ago by Martyn Gigg

Correction for plist path. Refs #5379

Changeset: 9eb2ffc6a3646a92f37c71f17d3c5caac22d48a9

comment:12 Changed 8 years ago by Martyn Gigg

Vates should now build on OS X. Refs #5379

Changes required so that the final bundle has the correct library links to ParaView in the pvplugins.

Changeset: 3999f28b8ebf35945c0d5ae8e9b759a0c294a4ad

comment:13 Changed 8 years ago by Martyn Gigg

Add message to FixBundle to aid debugging. Refs #5379

Changeset: 7a02be16b0f600f4cae1298209bff60f7f657070

comment:14 Changed 8 years ago by Martyn Gigg

Change paraview check call. Refs #5379

It did call -V which ends up starting a GUI briefly and is quite slow on OS X. Changed to --help as this is faster and we don't grab anything from the version string anyway.

Changeset: dcdbf931f0ddfae37580d9672c140df7f640334d

comment:15 Changed 8 years ago by Martyn Gigg

Make sure the Vates section of FixBundle.cmake is run. Refs #5379

CPack doesn't seem to know about some of CMake's variables. Using the variable directy now.

Changeset: 04b26ebbd273bcc4b459aacf749564734f890326

comment:16 Changed 8 years ago by Martyn Gigg

Fix setting PV_PLUGIN_PATH in ConfigService. Refs #5379

The relative path was wrong for OS X. It now just uses the key in the properties file. Also quietened the output of querying paraview by capturing the stderr as well.

Changeset: 6bc1fa4aae1a895c21f6c1151347e3445fac4d64

comment:17 Changed 8 years ago by Martyn Gigg

Correction for PV_PLUGIN_PATH. Refs #5379

It should point to the sub-directory.

Changeset: 6a612b553bd286eb7c9613eedc04477ff04b6646

comment:18 Changed 8 years ago by Martyn Gigg

Add a custom Info.plist file for OS X. Refs #5379

This sets the library search path for ParaView before the application starts and allows the ParaView plugins to pick up the paraview libraries.

Changeset: 698919777a76cfd415b2ce01f828512520bd61a5

comment:19 Changed 8 years ago by Martyn Gigg

Correction for plist path. Refs #5379

Changeset: 9eb2ffc6a3646a92f37c71f17d3c5caac22d48a9

comment:20 Changed 8 years ago by Martyn Gigg

Vates should now build on OS X. Refs #5379

Changes required so that the final bundle has the correct library links to ParaView in the pvplugins.

Changeset: 3999f28b8ebf35945c0d5ae8e9b759a0c294a4ad

comment:21 Changed 8 years ago by Martyn Gigg

Add message to FixBundle to aid debugging. Refs #5379

Changeset: 7a02be16b0f600f4cae1298209bff60f7f657070

comment:22 Changed 8 years ago by Martyn Gigg

Change paraview check call. Refs #5379

It did call -V which ends up starting a GUI briefly and is quite slow on OS X. Changed to --help as this is faster and we don't grab anything from the version string anyway.

Changeset: dcdbf931f0ddfae37580d9672c140df7f640334d

comment:23 Changed 8 years ago by Martyn Gigg

Make sure the Vates section of FixBundle.cmake is run. Refs #5379

CPack doesn't seem to know about some of CMake's variables. Using the variable directy now.

Changeset: 04b26ebbd273bcc4b459aacf749564734f890326

comment:24 Changed 8 years ago by Martyn Gigg

Fix setting PV_PLUGIN_PATH in ConfigService. Refs #5379

The relative path was wrong for OS X. It now just uses the key in the properties file. Also quietened the output of querying paraview by capturing the stderr as well.

Changeset: 6bc1fa4aae1a895c21f6c1151347e3445fac4d64

comment:25 Changed 8 years ago by Martyn Gigg

Correction for PV_PLUGIN_PATH. Refs #5379

It should point to the sub-directory.

Changeset: 6a612b553bd286eb7c9613eedc04477ff04b6646

comment:26 Changed 8 years ago by Martyn Gigg

Add a custom Info.plist file for OS X. Refs #5379

This sets the library search path for ParaView before the application starts and allows the ParaView plugins to pick up the paraview libraries.

Changeset: 698919777a76cfd415b2ce01f828512520bd61a5

comment:27 Changed 8 years ago by Martyn Gigg

Correction for plist path. Refs #5379

Changeset: 9eb2ffc6a3646a92f37c71f17d3c5caac22d48a9

comment:28 Changed 8 years ago by Owen Arnold

  • Owner changed from Owen Arnold to Martyn Gigg

Credit to Martyn for completing this work.

comment:29 Changed 8 years ago by Martyn Gigg

  • Status changed from assigned to accepted

comment:30 Changed 8 years ago by Martyn Gigg

  • Status changed from accepted to verify
  • Resolution set to fixed

comment:31 Changed 8 years ago by Russell Taylor

  • Status changed from verify to verifying
  • Tester set to Russell Taylor

comment:32 Changed 8 years ago by Russell Taylor

  • Status changed from verifying to closed

I can build the patched paraview on Lion, and then MantidPlot with MAKE_VATES=ON. The downloadable dmg includes all the Vates/paraview stuff.

comment:33 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 6225

Note: See TracTickets for help on using tickets.