Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

system comands under linux

matthewhort
Beginner
539 Views
We have old code that has been running on Windows NT using the Compaq compiler and on HP Unix using the HP compiler. For system commands we use SYSTEMQQ and SYSTEM respectively. I have been trying to get either of these commands to work under linux using Intel v7. The documentation is very brief in the library reference manual.

SYSTEM: The interface structure compiles, but when I include a the SYSTEM request I get the error: 'undefined reference to 'system_' '

SYSTEMQQ using the USE statement (with the use only option) I get eactly the same error once I include hte SYSTEMQQ command.

I would appreciate any help.

Matt
0 Kudos
2 Replies
TimP
Honored Contributor III
539 Views
If you are using 'ifc -Vaxlib' for both compile and link steps, call system() should work. If you are linking some other way, you would need to specify the appropriate library, It looks like you may have omitted -Vaxlib.
0 Kudos
matthewhort
Beginner
539 Views
You were correct I had not specified -Vaxlib. Thank you for your help our code is now fully operational.

Matt
0 Kudos
Reply