When I run the command

cfx5parhosts -benchmark

of ANSYS CFX 10.0 on a Linux AMD 64bit machine I get the following message:

/opt/ANSYS-10.0/CFX-10.0/bin/linux-amd64/solver-pvm.exe: error while loading shared libraries: libcgns.so: cannot open shared object file: No such file or directory
An error has occurred in cfx5parhosts:

The CFX-5 solver exited with return code 127. No results file has been created.


The variable LD_LIBRARY_PATH has not been updated to point to the cgns library. You can set this yourself as follows:


C shell ($HOME/.cshrc):
--------------------------
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/home/cfx/Shared/cgnslib_2.4-2/lib/linux-amd64/


Bash shell ($HOME/.bashrc):
-------------------------------
LD_LIBRARY_PATH= /home/cfx/Shared/cgnslib_2.4-2/lib/linux-amd64/:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH


After setting the variable, you should log out and back in again to activate the change to LD_LIBRARY_PATH.

This will be fixed in ANSYS CFX 11.





Show Form
No comments yet. Be the first to add a comment!