precice / vm

Vagrant box with preCICE and examples preinstalled
MIT License
5 stars 4 forks source link

Manually uninstall fenics-ufl package to avoid FEniCS not working #64

Closed IshaanDesai closed 1 year ago

IshaanDesai commented 1 year ago

Fixes error which popped up in https://github.com/precice/vm/pull/50#issuecomment-1322840394

IshaanDesai commented 1 year ago

@MakisH I am not sure if the install-fenics.sh script is the right place to manually uninstall fenics-ufl (to avoid the problem), but we can try this. I looked through the Vagrantfile to see which packages are installed after the fenics-adapter and it seems highly unlikely that fenics-ufl will be installed somehow later.

MakisH commented 1 year ago

I already had that before and removed it in https://github.com/precice/vm/pull/22, based on the discussion of https://github.com/precice/vm/issues/4.

Did you check if this solution works in the VM?

IshaanDesai commented 1 year ago

Did you check if this solution works in the VM?

Yes I checked my downloading the box from the latest passed test on the develop branch and the solution of manually uninstalling fenics-ufl works. It was only after I confirmed this did I open this PR.

IshaanDesai commented 1 year ago

Can we build the box for this branch? Then I can check if the solution works when done via the provisioning script.

MakisH commented 1 year ago

I am merging and directly building the result. If it works, we have nothing else to fix.