CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens

Executabel size - Segmentation fault

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 17, 2005, 12:04
Default Executabel size - Segmentation fault
  #1
Sheila
Guest
 
Posts: n/a
Hi everyone,

my executable size is about 900MB and I cannot run it. Star gives me segmentation fault. Can someone tell me what can I do to be able to run cases of this size? I hope there is something that can be done. Please help. Sheila
  Reply With Quote

Old   December 17, 2005, 13:19
Default Re: Executabel size - Segmentation fault
  #2
William Blake
Guest
 
Posts: n/a
It woulg be wonderful if you tell us, which version of StarCD you are using on which platform.

If it is v315 you can do a "starlink -Y"

  Reply With Quote

Old   December 19, 2005, 15:42
Default Re: Executabel size - Segmentation fault
  #3
Sheila
Guest
 
Posts: n/a
I am using version 3.15 on Linux. I tried the above suggestion (on a bigger file) and it did not work.

In case you ask, why am I still using an ancient version, I have to use v3.15 due to time shortage and some other constraints.

Please help, thanks. Sheila
  Reply With Quote

Old   December 19, 2005, 15:48
Default Re: Executabel size - Segmentation fault
  #4
Sheila
Guest
 
Posts: n/a
Here is what I have,

[rmb@metf1 dx_Nov10]$ starlink -snf star

Message passing library: sequential

Linking single precision sequential executable "star"...

FORTRAN 77 Compiler 4.5, Copyright (c) 1987-1999, Absoft Corp. /opt/absoft/lib/libfio.a(lowlevel.o): In function `_temp_file': lowlevel.o(.text+0x10): the use of `tempnam' is dangerous, better use `mkstemp'

Size of executable star = 906.848 MB

[rmb@metf1 dx_Nov10]$ star Segmentation fault [rmb@metf1 dx_Nov10]$ starlink -help

starlink [-sdgounfr2347BGipmhxPF] [-b mp_mbox] [-c casename] [-e executable] [-A MPI_ARCH] [-R MPI_ROOT] [-D MPI_DEVICE] [-S remoteSTARDIR] [-l libname] [-L libdir] [-U ufiledir

-s link single precision executable

-d link double precision executable

-g compile user subroutines with debugging information

-o optimise user subroutines

-u compile user subroutines

-n do not compile user subroutines

-f overwrite executable if it already exists

-2 Eulerian two phase version

-3 Interpolation for carrier phase based on gra.

-4 Interpolation for carrier phase based on vertex vel

-7 Parallel AMG with special parameters

-m use mpi

-i use mpich

-A specifies MPI_ARCH

-R specifies MPI_ROOT

-D selects MPI_DEVICE

-S selects remote machine STARDIR

-P link with patch libraries (obsolete)

-l library "libname" to link in

-L directory "libdir" to search for libraries

-U extra ufile directory "ufiledir"

-b Increase message passing buffer

-c write batch script for "casename"

-e write star executable named "executable"

-t strip executable

-x enable AMG algorithm (requires F90 compiler)

-r Reynolds Stress Model

-G link with GTPOWER

-V link with V2F

-F compile using freeware g77 (Irix only)

-h print this message

  Reply With Quote

Old   December 19, 2005, 17:07
Default Re: Executabel size - Segmentation fault
  #5
William Blake
Guest
 
Posts: n/a
starlink -help

starlink [-sdgounfr2347BGipmhxkPF] [-b mp_mbox] [-c casename] [-e executable] [-
A MPI_ARCH] [-R MPI_ROOT] [-D MPI_DEVICE] [-S remoteSTARDIR] [-l libname] [-L li
bdir] [-U ufiledir

-s link single precision executable

-d link double precision executable

-g compile user subroutines with debugging information

-o optimise user subroutines

-u compile user subroutines

-n do not compile user subroutines

-f overwrite executable if it already exists

-2 Eulerian two phase version

-3 Interpolation for carrier phase based on gra.

-4 Interpolation for carrier phase based on vertex vel

-7 Parallel AMG with special parameters

-m use mpi

-i use mpich

-A specifies MPI_ARCH

-R specifies MPI_ROOT

-D selects MPI_DEVICE

-S selects remote machine STARDIR

-P link with patch libraries (obsolete)

-l library "libname" to link in

-L directory "libdir" to search for libraries

-U extra ufile directory "ufiledir"

-b Increase message passing buffer

-c write batch script for "casename"

-e write star executable named "executable"

-t strip executable

-x enable AMG algorithm (requires F90 compiler)

-k no save memory option for AMG algorithm

-r Reynolds Stress Model

-G link with GTPOWER

-V link with V2F

-F compile using freeware g77 (Irix only)

-Y compile star executable with static system libraries (Linux only)

-h print this message


This is what I get from my version 315A. There you have to use "-Y compile star executable with static system".

It should not be too hard to change from v315 to v315A.
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Technical] Segmentation fault in map msg30 OpenFOAM Meshing & Mesh Conversion 6 March 27, 2008 11:49
Segmentation Fault Kiran Siemens 3 September 18, 2006 11:52
segmentation fault tipakorn Siemens 6 July 31, 2006 08:56
Segmentation Fault Victor Main CFD Forum 5 April 5, 2005 09:09
Segmentation fault Veebs Siemens 3 June 4, 2002 23:17


All times are GMT -4. The time now is 22:06.