HP MLIB for Itanium Linux Version 9.6 Release Note

HP MLIB for Itanium Linux Version 9.6 Release Note
Known Problems and Workarounds
HP MLIB for Itanium Linux Version 9.6 Release Note14
$ FORTRAN_FILE_IO_SUPPORT =1,
$ C_FILE_IO_SUPPORT =2)
mlib_file_io_support = FORTRAN_FILE_IO_SUPPORT
return
end
subroutine mlib_io_msg( output, s)
character*(*) s
integer output
write (output,*) s
return
end
As of this release, HP MLIB for Itanium® Linux does not support Fortran file manipulation
operations.
Default OpenMP library stack is too small for MLIB
Intel extensions to OpenMP set each parallel thread's size to a default size of 4 MB. For
performance reasons, several subprograms in HP MLIB use the stack for temporary arrays
that exceed the default value. Using the default thread stack size, these routines overwrite
neighboring stacks, resulting in errors that are difficult to diagnose.
The solution is to change the thread size attribute to a value that is large enough to
accommodate all the MLIB subprograms the thread may encounter. Currently, 8 MB should
be sufficient for all MLIB subprograms.
The environment variable KMP_STACKSIZE can accept values in bytes, kilobytes, megabytes,
gigabytes, or terabytes using the optional suffixes b, k, m, g, or t respectively. Set the size as
follows:
For C-like shells:
% setenv KMP_STACKSIZE 8m
For Korn-like shells:
% export KMP_STACKSIZE=8m
Incorrect math library link order for the Intel Fortran compiler
HP MLIB strongly recommends that the -lm option never be used on the command line with
the Intel Fortran compiler. When the Intel Fortran compiler is used to invoke the link phase,
the compiler will automatically insert appropriate clauses to link in libimf.(a,so) and
libm.(a,so), in that order.