I built a library for a CFX routine using cfx5mkext on a Linux box using the Portland Group compiler. I tried to copy the library files to a different machine and use them for my run, but the solver stopped with an error about a missing routine. What do I need to do to be able to use the libraries I compiled and built on another machine?

You can either edit the cfx5mkext.ccl file and add the parameter -Bstatic_pgi to the link options or you can include the -Bstatic_pgi flag when you issue the cfx5mkext command: i.e., for a file named test.F, you would type:

cfx5mkext -Bstatic_pgi test.F

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