Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Solaris Studio missing SUNWprivate

112 views
Skip to first unread message

Daniel Feenberg

unread,
Jan 9, 2015, 6:16:45 PM1/9/15
to
We have installed the latest Solaris Studio:

%f90 -V
f90: Sun Fortran 95 8.7 SunOS_sparc 2014/10/20

on our Sparc machine:

%uname -a
SunOS solaris 5.10 Generic_142909-17 sun4u sparc SUNW,Sun-Blade-100

but if I try to compile:

stop
end

(or any other program) with "f90 test.for" I get the result:

ld: fatal: file /lib/libmtsk.so: version `SUNWprivate_1.3' does not exist:
required by file /opt/solarisstudio12.4/lib/compilers/libfai.so
ld: fatal: file /lib/libmtsk.so: version `SUNWprivate_1.4' does not exist:
required by file /opt/solarisstudio12.4/lib/compilers/libfai.so
ld: fatal: file /lib/libmtsk.so: version `SUNWprivate_1.5' does not exist:
required by file /opt/solarisstudio12.4/lib/compilers/libfai.so
ld: fatal: file /lib/libmtsk.so: version `SUNWprivate_1.4' does not exist:
required by file /opt/solarisstudio12.4/lib/compilers/libfai2.so
ld: fatal: file /lib/libmtsk.so: version `SUNWprivate_1.5' does not exist:
required by file /opt/solarisstudio12.4/lib/compilers/libfai2.so
ld: fatal: File processing errors. No output written to a.out

From googling about, I understand that libmtsk is about Openmp - is there a way to tell the compiler I won't need that? Any help much appreciated.

Daniel Feenberg
NBER

robert....@oracle.com

unread,
Jan 9, 2015, 8:16:36 PM1/9/15
to
While libmtsk is used by code generated for OpenMP, it is also used for other forms of parallel programming. The array libraries call routines in libmtsk to implement parallel versions of array operations.

The library libmtsk ships as part of Solaris. Any version of Solaris capable of running Oracle Solaris Studio 12.4 should include a copy of libmtsk that has the required version set. Do you know the date or update level of release of Solaris 10 you are running?

You could try to link your program without including the array libraries on the link line. You can see the link line generated by the compiler driver by using the option -v.

Bob Corbett
0 new messages