HiFiLES / HiFiLES-solver

High Fidelity Large Eddy Simulation Solver
Other
171 stars 131 forks source link

Fatal error 'Unable to open cubature file' at ../src/cubature_quad.cpp:75 #108

Closed popstar0426 closed 8 years ago

popstar0426 commented 8 years ago

Hi:

Sometime I meet this error below: Setting up mesh connectivity Fatal error 'Unable to open cubature file' at ../src/cubature_quad.cpp:75 Fatal error 'Unable to open cubature file' at ../src/cubature_quad.cpp:75 Done setting up mesh connectivity The solution is to source .bashrc again. Do you know this or do you have a improvement?

Best regards! Yue

mlopez14 commented 8 years ago

You need to create an environment variable HIFILES_HOME that contains the path to the HiFiLES installation folder. The Tutorial on running the code describes this in more detail. On Thu, Oct 29, 2015 at 12:08 AM popstar0426 notifications@github.com wrote:

Hi:

Sometime I meet this error below: Setting up mesh connectivity Fatal error 'Unable to open cubature file' at ../src/cubature_quad.cpp:75 Fatal error 'Unable to open cubature file' at ../src/cubature_quad.cpp:75 Done setting up mesh connectivity The solution is to source .bashrc again. Do you know this or do you have a improvement?

Best regards! Yue

— Reply to this email directly or view it on GitHub https://github.com/HiFiLES/HiFiLES-solver/issues/108.

popstar0426 commented 8 years ago

Hi: I have done that with below text in my .bashrc. export HIFILES_HOME=/export/home/wangy/HiFiLES-solver export HIFILES_RUN=/export/home/wangy/HiFiLES-solver/bin export PATH=/export/home/wangy/HiFiLES-solver/bin:$PATH

But I meet the error every time when I enter a cluter node. I need to source .bashrc, then the error disappears. It is not a big problem. I can use HiFiLES.

Best regards!

mlopez14 commented 8 years ago

We'll try to get rid of this requirement... it is cumbersome.