Re: pfInit() -Reply

New Message Reply Date view Thread view Subject view Author view

Rob Jenkins (robj++at++quid)
Fri, 22 Nov 1996 17:03:15 -0800


On Nov 22, 4:06pm, Craig Alsop wrote:
> Subject: Re: pfInit() -Reply
>
> [ Text
> Encoded with "quoted-printable" ] :
>
> Bryan,
>
> are you using an XFS file system? If so then I think that the workaround
> for Performer 1.2 is to set PFTMPDIR to a directory on an EFS filesystem
> If you only have one disk then you will have to create a new partition
> & put an EFS filesystem on it.
> I had a feeling that there was also a program written by someone that you
> could use to modify your old executable to make it work.
>
> cheers,
> Craig
>
> On Nov 21, 2:21pm, Bryan Wasileski wrote:
> > Subject: Re: pfInit() -Reply
> » >>> Bernard Leclerc <bleclerc++at++cae.ca> Wednesday, November 20,
> » 1996 >>>
> » Bryan Wasileski wrote:
> »
> » > I have an older Perf 1.2 app developed on an RE2 that is a staticly built
> » > executable which I am trying to run on an IR. When trying to execute
> » the
> » > app. I get an error at the pfInit();
> » > pfInit: cannot create semaphore arena via NFS (/usr/tmp). change
> » > PFTMPDIR.
> » >
> » > I have changed PFTMPDIR and unset it and the same results occur. I'm
> » > not sure why it's complaining about NFS since there are no networked
> » > connections to the computer. Can any of you SGI performer guru's
> » > explain this. I really need to use this app. Thanks.
> »
> » Bryan,
> »
> » Try, "setenv PFNFYLEVEL 5" before running you app, you'll get more info
> » on what's going on. Also, what version of IRIX was used to compile your
> » app?
> » Once you've gathered more info, post it to this mailing list and we'll see
> » what we can do.
> »
> » --
> » Bernard Leclerc CAE Electronics Ltd., 8585 Cote De
>
> --
> Craig Alsop Silicon Graphics Limited, Unit 9, Callendar Road,
> Sales Support (Scotland) Callendar Business Park, Falkirk, Scotland FK1 1XR
>
> craig++at++falkirk.sgi.com (01324)614300 mobile: 0585 868161 vmail# 58672
>-- End of excerpt from Craig Alsop

I've attached the script Craig mentioned ( which Don Hatch wrote )

Cheers
Rob

-- 
________________________________________________________________
Rob Jenkins mailto:robj++at++csd.sgi.com
Silicon Graphics, Mtn View, California, USA

#!/bin/sh

# # perf21xfs $Revision: 1.2 $ # # Script to patch a statically linked Performer2.1 application # to allow it to run when PFTMPDIR is an XFS file system # (getting rid of the bogus fatal "cannot create semaphore arena via NFS" # error). # # Run this script on the executable (but make a backup first!) # # So far, it has been tested on the following files: # ~src/trees/demo/GL/perfly/perfly # /usr/demos/Impact/data/GIS/terrain/perfly.ptu # /usr/demos/Impact/MaxImpact/SGI/site/perfly # If you have an executable for which it doesn't work, # please let me know (hatch++at++sgi.com). #

if [ $# -ne 1 ] then echo Usage: `basename $0` executablename >&2 exit 1 fi

perl -p -i.bak \ -e '$/ = 0777;' \ -e "s/pfInit: cannot create semaphore arena via NFS \(%s\). Change PFTMPDIR./pfInit: semaphore arena dir (%s) is not EFS. Use PFTMPDIR to change./;" \ -e "s/(\ \217\274\000\040\ \000\000\000\000\ \217\231..\ \047\244..\ \003\040\370\011\ \047\245..\ \217\274\000\040\ \047\244..\ \217\231..\ \044\005\000\057\ \003\040\370\011\ \000\000\000\000\ \217\274\000\040\ \020\100\000\002\ \047\244..\ \240\100\000\000\ \217\231..\ \047\245..\ \044\006\000\050\ \003\040\370\011\ \000\000\070\045\ \217\274\000\040\ \004\101\000\013\ \207\256..\ \217\206..\ \217\231..\ \044\004\000\001\ \044\005\000\003\ \047\247..\ \003\040\370\011\ \044\306..\ \217\274\000\040\ \000\000\000\000\ \207\256..\ \044\001\000\001\ \025\301\000\012\ \000\000\000\000\ \217\206..\ \217\231..\ \044\004\000)\001\ /"'$1'"\005/g;" \ -e "s/(\ \047\244..\ \003\040\370\011\ \044\245..\ \217\274\000\040\ \000\000\000\000\ \217\231..\ \047\244..\ \003\040\370\011\ \047\245..\ \217\274\000\040\ \047\244..\ \217\231..\ \044\005\000\057\ \003\040\370\011\ \000\000\000\000\ \217\274\000\040\ \020\100\000\002\ \047\244..\ \240\100\000\000\ \217\231..\ \047\245..\ \044\006\000\050\ \003\040\370\011\ \000\000\070\045\ \217\274\000\040\ \004\101\000\013\ \207\257..\ \217\206..\ \217\231..\ \044\004\000\001\ \044\005\000\003\ \047\247..\ \003\040\370\011\ \044\306..\ \217\274\000\040\ \000\000\000\000\ \207\257..\ \044\001\000\001\ \025\341\000\011\ \044\004\000)\001\ /"'$1'"\005/g;" \ $1 exit 0

======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:00 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.