PySDF error in Modulus 22.03

Hi I managed to install pysdf in the bare metal installation using the provided egg file via easy_install. Here are the steps

  1. downgrade setuptools (pip3 install setuptools==42.0.0) since easy_install command is not exposed in the latest setuptools versions. see ref.

  2. install the provided egg file

cd path_to_modulus_source_code/modulus/external/eggs
python3 -m easy_install pysdf-0.1-py3.8-linux-x86_64.egg

  1. you can make sure the installation is successful by checking pip3 list. You can also upgrade setuptools back to the latest version.

  2. add libsdf.so to your LD_LIBRARY_PATH

then you can successfully run aneurysm.py without changing the source code.

1 Like