home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp
- Path: sparky!uunet!utcsri!helios.physics.utoronto.ca!alchemy.chem.utoronto.ca!system
- From: system@alchemy.chem.utoronto.ca (System Admin (Mike Peterson))
- Subject: Re: Programming problems
- Message-ID: <1992Nov12.184857.28336@alchemy.chem.utoronto.ca>
- Keywords: X11, F77
- Organization: University of Toronto Chemistry Department
- References: <Hendrik.Klompmaker.9.721576035@beheer.zod.wau.nl>
- Date: Thu, 12 Nov 1992 18:48:57 GMT
- Lines: 28
-
- In article <Hendrik.Klompmaker.9.721576035@beheer.zod.wau.nl> Hendrik.Klompmaker@beheer.zod.wau.nl (<Hendrik Klompmaker>) writes:
- >We have a little problem while running a 120Mb fortran on our 730 with 128Mb
- >of ram. The program crashes in a coredump with 'segmentation violation'. If
- >we decrease the size of the program a little (20 Mb) it will run. Any idea
- >why this problem occurs and what to do about it except decreasing the size
- >of the program.
-
- You probably need to increase 'maxdsize' to increase the user data space
- (do it with SAM). It could be maxssiz if you allocate a lot of
- arrays on the stack, but not likely to be maxtsiz (code size).
-
- >The next problem has to do with X11. I downloaded some files like xdaliclock
- >and tried to compile them. The X11.h files are on the usr/include/X11R4/X11
- >directory but while compiling they cannot be found. I'm new to C programming
- >so don't know how to solve this problem.
-
- Try setting $CCOPTS and $LDOPTS to:
-
- "-Aa -D_HPUX_SOURCE -I /usr/include/X11R4 -I /usr/include/Motif1.1 | "
- "-L /usr/lib/X11R4 -L /usr/lib/Motif1.1 -L /usr/local/lib"
-
- respectively (drop -Aa and -D_HPUX_SOURCE if you don't want ANSI C
- by default). Soon you will run into the missing header file problem
- that has been debated here for the past few weeks - I wish HP would
- just supply the files and save users lots of grief !!!
- --
- What are the chances that any HP computer system will ever "work" properly?
- ... and Slim just left town. -*- Mike Peterson, SysAdmin, U/Toronto Chemistry
-