[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference nicctr::kap-users

Title:Kuck Associates Preprocessor Users
Notice:KAP V2.1 (f90,f77,C) SSB-kits - see note 2
Moderator:HPCGRP::DEGREGORY
Created:Fri Nov 22 1991
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:390
Total number of notes:1440

385.0. "HELP: kf90 link troubles..." by NNTPD::"[email protected]" (R. Balasubramanian) Mon May 26 1997 06:58

Hello everyone,

When I tried to put a Fortran code through kf90 code, it compiles
fine. But does not go through linking stage. 
The same code works well with just regular DecFortran90  f90 compiler.

See below the compiler/linker options:

Compilation:
  kf90 -fkapargs='-conc' -c -g0 -O4 -fast -automatic -tune host
  -non_shared  -r8 -check overflow -fpe3  -convert big_endian 
  $CASE.f >&! listing

Linking:
  kf90 -fkapargs='-conc' -g0 -fast -automatic -unroll 2 -pipeline
  -tune host -non_shared -r8 -fpe3    -check overflow  -convert
  big_endian  -O4 -inline all -L/usr/opt/alt/usr/lib/threads 
  -L/usr/lib -L/usr/opt/KF9BASE311 -o ccm2bin $CASE.o

Linking fails with an error:
Undefined symbol:
mpsbar_


Any clues to solve this are welcome and appreciated.

Thanks in advance.

R.Balasubramanian
[email protected]




[Posted by WWW Notes gateway]
T.RTitleUserPersonal
Name
DateLines
385.1mpsbar or mptbar?HERON::BLOMBERGTrapped inside the universeMon May 26 1997 08:099
    
    Are you sure that the symbol is "mpsbar_" and not "mptbar_" ?
    
    /usr/lib/libkmp_osf.a, which is not on your command line, defines
    "mptbar_".
    
    deux centimes,
    Ake
    
385.2kpf90 linker error: mpsbar_NNTPD::"[email protected]"adca01::rbsTue May 27 1997 02:4916
Thanks heron::blomberg.

But, the linker error is  " Undefined: mpsbar_ "

BTW, since linker switch:  -fkapargs='-conc' sets -lkmpf_osfp10
automatically, it was not put in. But, its inclusion also did not
change the error status. 

I know of mppbar which process barrier ID.
Can someone tell me what this mpsbar_  or mptbar_ stands for?

Thanks for any help/clues.

R.Balasubramanian

[Posted by WWW Notes gateway]
385.3kpf90 linker error: mpsbar_NNTPD::"[email protected]"adca01::rbsTue May 27 1997 02:5016
Thanks heron::blomberg.

But, the linker error is  " Undefined: mpsbar_ "

BTW, since linker switch:  -fkapargs='-conc' sets -lkmpf_osfp10
automatically, it was not put in. But, its inclusion also did not
change the error status. 

I know of mppbar which process barrier ID.
Can someone tell me what this mpsbar_  or mptbar_ stands for?

Thanks for any help/clues.

R.Balasubramanian

[Posted by WWW Notes gateway]
385.4mtsbar foundHERON::BLOMBERGTrapped inside the universeWed May 28 1997 07:266
    
    I just installed "KAP/Digital_UA_F 3.1a k280615" and then I found
    
    mtsbar_ in /usr/opt/KF9BASE311/libkmp_osf.a and libkmp_osfp10.a.
    
    /Ake
385.5Yes, mpsbar_ also found.NNTPD::"[email protected]"R.Balasubramanian ( adca01::rbs )Tue Jun 03 1997 02:349
Thanks again heron::blomberg.

I found mpsbar_ also in "KAP/Digital_UA_F90   3.1a k280719 970519"
which I installed as per 2.LAST

Thanks for clues.

/R.Balasubramanian
[Posted by WWW Notes gateway]