I got this message when trying to run upscale_perm with either periodic or linear boundary condition. It works fine with fixed boundary condition.
[2025.03.07-py311-rhel8] ~ ~/git/opm-py/venv/bin/upscale_perm -bc l drogon.grdecl
Parsed command line option: bc := l
Parsing Eclipse file <drogon.grdecl> ... (0.108555 secs)
Tesselating non-periodic grid ...Program threw an exception: [/private/alifb/git/opm-py/opm-grid/opm/grid/cpgrid/processEclipseFormat.cpp:375] Grid cannot be clipped to a shoe-box (in z): Would be empty afterwards.
terminate called after throwing an instance of 'std::runtime_error'
what(): [/private/alifb/git/opm-py/opm-grid/opm/grid/cpgrid/processEclipseFormat.cpp:375] Grid cannot be clipped to a shoe-box (in z): Would be empty afterwards.
[st-lintgx0365:3507288] *** Process received signal ***
[st-lintgx0365:3507288] Signal: Aborted (6)
[st-lintgx0365:3507288] Signal code: (-6)
[st-lintgx0365:3507288] [ 0] /lib64/libpthread.so.0(+0x12990)[0x7f1e1efd4990]
[st-lintgx0365:3507288] [ 1] /lib64/libc.so.6(gsignal+0x10f)[0x7f1e1a67452f]
[st-lintgx0365:3507288] [ 2] /lib64/libc.so.6(abort+0x127)[0x7f1e1a647e65]
[st-lintgx0365:3507288] [ 3] /lib64/libstdc++.so.6(+0x9009b)[0x7f1e1aca409b]
[st-lintgx0365:3507288] [ 4] /lib64/libstdc++.so.6(+0x9654c)[0x7f1e1acaa54c]
[st-lintgx0365:3507288] [ 5] /lib64/libstdc++.so.6(+0x965a7)[0x7f1e1acaa5a7]
[st-lintgx0365:3507288] [ 6] /lib64/libstdc++.so.6(__cxa_rethrow+0x4d)[0x7f1e1acaa85d]
[st-lintgx0365:3507288] [ 7] /private/alifb/git/opm-py/venv/bin/upscale_perm[0x415896]
[st-lintgx0365:3507288] [ 8] /lib64/libc.so.6(__libc_start_main+0xe5)[0x7f1e1a6607e5]
[st-lintgx0365:3507288] [ 9] /private/alifb/git/opm-py/venv/bin/upscale_perm[0x50629e]
[st-lintgx0365:3507288] *** End of error message ***
Aborted (core dumped)
I got this message when trying to run
upscale_permwith either periodic or linear boundary condition. It works fine with fixed boundary condition.