- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi:
I am using ifc8.0 to run a NAG package program. The command I am issuing is:
ifort -I/opt/NAG/fnlux04dcl/nag_mod_dir/ nag_rand_contin_ex02.f90
I get the following error messages:
/tmp/ifortmJzj4P.o(.text+0x5c0): In function `MAIN__':
: undefined reference to `g05dza_9d_mp_g05cbf_9d_'
/tmp/ifortmJzj4P.o(.text+0x674): In function `MAIN__':
: undefined reference to `g05eaf_9d_'
/tmp/ifortmJzj4P.o(.text+0x79c): In function `MAIN__':
: undefined reference to `g05eaf_9d_'
/tmp/ifortmJzj4P.o(.text+0x8c9): In function `MAIN__':
: undefined reference to `x04cgf_9d_'
I DON'T get these errors if I use "-c" option in the "ifort" command above. Please let me know what I should do.
Thank you
Sarma
I am using ifc8.0 to run a NAG package program. The command I am issuing is:
ifort -I/opt/NAG/fnlux04dcl/nag_mod_dir/ nag_rand_contin_ex02.f90
I get the following error messages:
/tmp/ifortmJzj4P.o(.text+0x5c0): In function `MAIN__':
: undefined reference to `g05dza_9d_mp_g05cbf_9d_'
/tmp/ifortmJzj4P.o(.text+0x674): In function `MAIN__':
: undefined reference to `g05eaf_9d_'
/tmp/ifortmJzj4P.o(.text+0x79c): In function `MAIN__':
: undefined reference to `g05eaf_9d_'
/tmp/ifortmJzj4P.o(.text+0x8c9): In function `MAIN__':
: undefined reference to `x04cgf_9d_'
I DON'T get these errors if I use "-c" option in the "ifort" command above. Please let me know what I should do.
Thank you
Sarma
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You don't get the errors with -c because these are errors from ld. It looks as if you are missing some objects or libraries - in particular, the object that was created by compiling module g05dza_9d. I am not familar with NAG so I can't advise you as to how to link these in.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page