Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with VEmex solver in CO2-lab legacy #4

Open
sabbaghr opened this issue Aug 7, 2024 · 1 comment
Open

Issues with VEmex solver in CO2-lab legacy #4

sabbaghr opened this issue Aug 7, 2024 · 1 comment

Comments

@sabbaghr
Copy link

sabbaghr commented Aug 7, 2024

Hi,

I am trying to run the runJohansenVE.m script. But I am having issues creating the Mex file. I followed the steps in the README file. But I had an error after running the make command.

      ...
ld: symbol(s) not found for architecture arm64
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libVETransportCPU.dylib] Error 1
make[1]: *** [mexInterface/CMakeFiles/VETransportCPU.dir/all] Error 2
make: *** [all] Error 2

I am using a Mac with M2 chip. Any ideas why this is happening and how can I fix this?

Thanks,
Reinaldo

@moyner
Copy link
Contributor

moyner commented Aug 9, 2024

Hi,

I think we have not tested the building of these scripts for Mac ARM/M2 CPUs. This code for C++ acceleration is a bit old and was written before Macs ran on ARM. I think the example itself should run without acceleration, though. I am not sure if this C++ acceleration is the best option to speed up CO2 simulations in MRST today, as we now have many options in terms of accelerators for standard simulations.

Best regards,
Olav

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants