This thread is locked.Only browsing is available.
Top Page > Browsing
Adpack1.8 with linux - crashes
Date: 2005/02/14 16:56
Name: Ken Lux

Hi,

I just tried to compile and run adpack1.8 and the compile seemed to go OK - I just did make install from the source directory.

However, when I type (in the work directory):

./adpack1.8 C.inp

I get:
killed


Adpack1.6 seems to work OK.

Anyone else have problems with adpack1.8, but not adpack1.6?

Thanks in advance,
Ken
メンテ
Page: [1]

Re: Adpack1.8 with linux - crashes ( No.1 )
Date: 2005/02/15 15:16
Name: T.Ozaki

Hi,

I guess that your problem is related to a memory limitation in
your computational environment or your compiler.

There are several ways to resolve this problem as follows:

(1) reduce array size in adpack.h, e.g.

ASIZE1 13000
ASIZE2 7
ASIZE3 7
ASIZE4 10

(2) find some appropriate compiler options to enlarge the available
memory size, e.g.,

gcc -O3 -Wl,--heap,900000,--stack,900000 -static

The options should depend on your system.

(3) use ADPACK1.6 instead of ADPACK1.8

The difference between two versions is slight with respect to the
functionalities. So, if the version 1.6 works well, you can use
1.6 instead of 1.8 without any disbenefit. You will find a pre-defined
value, 'LimitE', in the file, adpack.h. The selection of LimitE seems to
be quite important to accurately solve 1-D differential equations.
I use 1.0e+150 and 1.0e+303 for LimitE in ADPACK1.6 and 1.8, respectively.
In my experience, 1.0e+303 looks better in linux and gcc with respect to
numerical robustness. This is the main difference between two versions.

Regards,

T.Ozaki
メンテ
Re: Adpack1.8 with linux - crashes ( No.2 )
Date: 2005/02/15 17:26
Name: Ken Lux

Thanks for the tips. Tweaking the array sizes fixed it.

Maybe its time to buy some more memory :)

メンテ

Page: [1]