Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions checks/apps/paraview/paraview.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,17 @@ class ParaView_coloredSphere(rfm.RunOnlyRegressionTest):
num_tasks = 12
num_tasks_per_node = 6
time_limit = '3m'
executable = '/user-environment/ParaView-5.13/bin/pvbatch'
executable = './ParaView/bin/pvbatch'
# executable = '/user-environment/ParaView-5.13/bin/pvbatch'
Copy link
Collaborator

Choose a reason for hiding this comment

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

Does it make sense to remove the comment?

executable_opts = ['-- coloredSphere.py']
maintainers = ['SSA']
tags = {'production'}

@run_before('run')
def find_pvbatch(self):
self.prerun_cmds = [
'ln -fs /user-environment/ParaView-[0-9]* ParaView']

@run_before('run')
def output_file_info(self):
self.postrun_cmds = ['file *.png']
Expand Down Expand Up @@ -71,8 +77,7 @@ class ParaView_catalystClipping(rfm.RegressionTest):
executable = './bin/dummysph_catalystV2'
env_vars = {
'CATALYST_IMPLEMENTATION_NAME': 'paraview',
'CATALYST_IMPLEMENTATION_PATHS':
'/user-environment/ParaView-5.13/lib64/catalyst',
'CATALYST_IMPLEMENTATION_PATHS': '$PWD/ParaView/lib64/catalyst',
Copy link
Collaborator

Choose a reason for hiding this comment

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

Does it make sense to use /user-environment/Paraview, instead of $PWD?

'CATALYST_DATA_DUMP_DIRECTORY': '$PWD/dataset',
}
maintainers = ['SSA']
Expand All @@ -82,9 +87,9 @@ class ParaView_catalystClipping(rfm.RegressionTest):
def prepare_build(self):
tgz = f'v{self.git_tag}.tar.gz'
self.prebuild_cmds = [
f'# tested with paraview/5.13.2:v2 -v paraview-python',
f'wget -q https://github.com/jfavre/DummySPH/archive/refs/tags/'
f'{tgz} && tar xf {tgz} && rm -f {tgz}',
f'ln -fs /user-environment/ParaView-[0-9]* ParaView',
]
# on eiger, mpicxx/mpicc are broken (g++: No such file)
self.build_system.cc = 'gcc'
Expand Down