Question:

I am attempting to create a shared library for the IBM AIX operating system but this doesn't seem to work. In particular, ANSYS routines dspget, disget and ntpget do not appear to be included in the ANSYS libraries supplied for this system. The coding I am using works well on other platforms (Linux, SunOS, HP-UX) but not on the AIX. Can you help me solve this problem.

Answer:

You will not be able to use shared libraries on the AIX system. It will be necessary to create a static library and use that static library instead. For the AIX system, ANSYS creates and uses static libraries for the production version of the program because of the difficulty of creating shared objects. The other libraries that ANSYS uses for the production version, such as the Boeing libraries for the sparse solver, are also static libraries on the AIX operating system. The command to create a static library is

ar -X64 rv libraryname.a *.o

You can likely use the gen_share script to create the object files for the library but the .so file created should be discarded.


Question:

I am attempting to create a shared library for the IBM AIX operating system but this doesn't seem to work. In particular, ANSYS routines dspget, disget and ntpget do not appear to be included in the ANSYS libraries supplied for this system. The coding I am using works well on other platforms (Linux, SunOS, HP-UX) but not on the AIX. Can you help me solve this problem.

Answer:

You will not be able to use shared libraries on the AIX system. It will be necessary to create a static library and use that static library instead. For the AIX system, ANSYS creates and uses static libraries for the production version of the program because of the difficulty of creating shared objects. The other libraries that ANSYS uses for the production version, such as the Boeing libraries for the sparse solver, are also static libraries on the AIX operating system. The command to create a static library is

ar -X64 rv libraryname.a *.o

You can likely use the gen_share script to create the object files for the library but the .so file created should be discarded.





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