Problem with using new version 23.08 and Tesselated Geometry

Hi, I am trying to use Modulus 23.08 on our cluster. Due to security issue, we can’t use docker and have to convert it to singularity format. On one of the system, it worked fine with the aneurysm example.

However, on another cluster, it didn’t work. The error is:

tsltaywb@volta01:~/hpctmp_tsltaywb/modulus/myprojects/aneurysm_2308$ python
/usr/local/lib/python3.10/dist-packages/hydra/_internal/ UserWarning: Future Hydra versions will no longer change working directory at job runtime by default.
See for more information.
  ret = run_job(
[06:27:53] - JIT using the NVFuser TorchScript backend
[06:27:53] - JitManager: {'_enabled': True, '_arch_mode': <JitArchMode.ONLY_ACTIVATION: 1>, '_use_nvfuser': True, '_autograd_nodes': False}
[06:27:53] - GraphManager: {'_func_arch': False, '_debug': False, '_func_arch_allow_partial_hessian': True}
/usr/local/lib/python3.10/dist-packages/modulus/sym/geometry/ RuntimeWarning: divide by zero encountered in divide
  np.full(x.shape, triangle_areas[index] / x.shape[0])
NUM Triangles: 37578
Timing for Build CPAT Model (build bvh): 0.19523s
Timing for cpatResultsToArrays: 0.0412009s
Timing for cpatDistanceField: 0.626457s
Timing for computeDistanceField: 0.626526s
terminate called after throwing an instance of 'std::runtime_error'
  what():  Library not found
Aborted (core dumped)

Similarly, if I am using the docker image directly on my workstation running windows WSL, I have the exact error.

Do you have any idea what’s wrong?

However, now we encounter some problem. Is there anyway we can use the Tesselated Geometry w/o using the docker image? We’re moving towards 3D simulation and I don’t think it would be possible if we can’t import the STL.


Hi, just an update.I managed to get the other cluster one working. Error was due to python conflict with my .local python libraries. Hope that helps.

1 Like