Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

IVF 9 & NAG Library

garyindia
Beginner
1,005 Views

We are trying to run basic example program a02aafe.f in the NAG
Library at command prompt.

It compiles succesfully, however, it says, while executing

"The ordinal 528 cld not be located in the dynamic link librry
libguid40.dll.

Doing a search for libguid40.dll gives several libguides, as in
Libguide for NAG/IFC/MATLAB. How does one ensure correct one is being
accessed?

However, it runs asks for input values when run from windows(as in
double
clicking). But after taking input it just goes away.

Also, if you dont give input redirection in Windows, the build is
successful, however, when u run with Debug it gives following errors:

abc.exe': Loaded 'C:WINDOWSsystem32imagehlp.dll', No symbols loaded.
'abc.exe': Loaded 'C:WINDOWSsystem32msvcrt.dll', No symbols loaded.
'abc.exe': Loaded 'C:WINDOWSsystem32shimeng.dll', No symbols loaded.
'abc.exe': Unloaded 'C:WINDOWSsystem32shimeng.dll'
The program '[2464] abc.exe: Native' has exited with code 0 (0x0).

AND

If you run without debug:
A windows opens which says press any key to continue.

Can you please help?

0 Kudos
4 Replies
Steven_L_Intel1
Employee
1,005 Views
> > "The ordinal 528 cld not be located in the dynamic link librry
> > libguid40.dll.
> >
> > Doing a search for libguid40.dll gives several libguides, as in
> > Libguide for NAG/IFC/MATLAB. How does one ensure correct one is being
> > accessed?

Make sure that C:Program FilesIntelCompilerFortran9.1IA32Bin is
included in the definition of the PATH environment variable, before
other folders that may contain libguide40.dll. You have to check the
box at compiler install time to have this done for you, or you can do it
yourself. If you don't, then programs linked against the Intel Fortran
DLLs won't run. You apparently asked for a parallel processing option,
which uses libguide40.dll.

> > However, it runs asks for input values when run from windows(as in
> > double
> > clicking). But after taking input it just goes away.

It is simply exiting. You'll have to debug your application to find why.

> > Also, if you dont give input redirection in Windows, the build is
> > successful, however, when u run with Debug it gives following errors:
> >
> > abc.exe': Loaded 'C:WINDOWSsystem32imagehlp.dll', No symbols loaded.
> > 'abc.exe': Loaded 'C:WINDOWSsystem32msvcrt.dll', No symbols loaded.
> > 'abc.exe': Loaded 'C:WINDOWSsystem32shimeng.dll', No symbols loaded.
> > 'abc.exe': Unloaded 'C:WINDOWSsystem32shimeng.dll'
> > The program '[2464] abc.exe: Native' has exited with code 0 (0x0).

These are not errors. The first four messages are simply informational
from the debugger saying that these DLLs are loaded as part of the
program but there is no debug info for the DLLs. Quite normal.

The last message says that your program exited normally - perhaps
because it sees that it has no input. This is in your program's logic.

> > If you run without debug:
> > A windows opens which says press any key to continue.

Same thing.
0 Kudos
Intel_C_Intel
Employee
1,005 Views
Gary,

You might also want to check your NAG licensing situation. If you have the 'wrong' kind of licenses NAG won't work. We had problems with a NAG library that was licensing itself on a per machine basis, preventing us from redistributing our exes.
0 Kudos
mittalgirish
Beginner
1,005 Views
Judd,
There are no NAG Licencing issues as we are currently using only the trial licence and trial licence works fine on any machine.
Gary
0 Kudos
mittalgirish
Beginner
1,005 Views
Make sure that C:Program FilesIntelCompilerFortran9.1IA32Bin is
included in the definition of the PATH environment variable, before
other folders that may contain libguide40.dll. You have to check the
box at compiler install time to have this done for you, or you can do it
yourself. If you don't, then programs linked against the Intel Fortran
DLLs won't run. You apparently asked for a parallel processing option,
which uses libguide40.dll.
---> No parallel processing option, we are trying to compile a simple program aa02aafe.f, which finds square root of a complex number.
>>However, it runs asks for input values when run from windows(as in
>>double
>>clicking). But after taking input it just goes away.

It is simply exiting. You'll have to debug your application to find why.
----> As I said, it is simple NAG example program a02aafe.f, which works fine on CVF. It opens a window, where you give the data and it computes results for you.
The last message says that your program exited normally - perhaps
because it sees that it has no input. This is in your program's logic.

>>If you run without debug:
>>A windows opens which says press any key to continue.

Same thing.
----> Again, I dont think there is any problem with the code. Its just something is missing somewhere....
On a side note:
Why does Intel support has to be so complicated. Why can't I just send email and get a reply. Intel has information on all the customers who have purchased their software.
You see it is difficult to remember so many passwords/log in information.
0 Kudos
Reply