2.1.30 Gamma transport memory allocation problem

Report all good and bad behavior here
Post Reply
kaartinen
Posts: 8
Joined: Wed Aug 01, 2018 7:53 am
Security question 1: No
Security question 2: 93
Location: Loviisa NPP

2.1.30 Gamma transport memory allocation problem

Post by kaartinen » Wed Aug 01, 2018 8:08 am

I was trying to run the Simple example (2.1.24) for gamma transport to get myself familiarized with photon transport.

I was running it with 2.1.30 version and it gave me a Fatal error in function Mem
"Memory allocation failed (calloc, 4675910279312179231, 8, 75.16)"

However the same example code worked just fine on versions .26 .27 .28 and .29

Code: Select all

set pdatadir "/home/kaartdan/SERPENT/photondata"
set acelib "/home/kaartdan/SERPENT/xdata/photon.xsdata"

surf 1 cyl 0.0 0.0 5.0
surf 2 cube 0.0 0.0 0.0 10.0

mat uranium -19.0
92000.02p 100

mat air -1.20500E-03
6000.02p -1.24000E-04
8000.02p -7.55268E-01
18000.02p -1.28270E-02

cell 1 0 uranium -1
cell 2 0 air	1 -2
cell 3 0 outside 2

src 1 p sp 0.0 0.0 0.0 se 1.0
set nps 1000000

det 1

mesh 8 4 1 3 500 500

plot 3 500 500

Ville Valtavirta
Posts: 539
Joined: Fri Sep 07, 2012 1:43 pm
Security question 1: No
Security question 2: 92

Re: 2.1.30 Gamma transport memory allocation problem

Post by Ville Valtavirta » Mon Aug 13, 2018 1:46 pm

Hi,

the problem comes from this bug in processcompton.c: http://ttuki.vtt.fi/serpent/viewtopic.p ... 2839#p8402

Please notice that the same thread describes also some other bugs related to photon transport routines.

-Ville

Post Reply