Using large voxel numbers in Dosxyznrc #723
-
Dear all, I am running simulations in Dosxyznrc using an obese full body phantom that has a large number of voxels (x=350, y=410, and z=652). When I change (IMAX,JMAX, and KMAX) in dosxyznrc_user_macros.mortran to these values, I get the error shown below. I have managed to run simulations with smaller phantoms with no issue, but not for large phantoms. It would be greatly appreciated if anyone could assist me in overcoming this issue. Fortran compiling dosxyznrc_linux.F using flags ' -fPIC -O2 -mtune=native' and extra objects/libs '/project/k1508/EGSnrc/HEN_HOUSE/lib/linux/egs_c_utils.o /project/k1508/EGSnrc/HEN_HOUSE/lib/linux/read_write_pardose.o /project/k1508/EGSnrc/HEN_HOUSE/lib/linux/load_beamlib.o /project/k1508/EGSnrc/HEN_HOUSE/lib/linux/load_vculib.o -ldl -L/project/k1508/EGSnrc/HEN_HOUSE/egs++/dso/linux -Wl,-rpath,/project/k1508/EGSnrc/HEN_HOUSE/egs++/dso/linux -liaea_phsp'
/usr/bin/ld: failed to convert GOTPCREL relocation; relink with --no-relax
/usr/bin/sha1sum: /project/k1508/EGSnrc/egs_home/bin/linux/dosxyznrc: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [/project/k1508/EGSnrc/HEN_HOUSE/makefiles/standard_makefile:90: /project/k1508/EGSnrc/egs_home/bin/linux/dosxyznrc] Error 1 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Try changing the compiler flags in the Makefile to allow for large arrays: This is a common question, there's more discussion here: https://www.reddit.com/r/EGSnrc/comments/jkcv4e/increase_the_maximun_number_of_voxels_in_xyz/ |
Beta Was this translation helpful? Give feedback.
-
The |
Beta Was this translation helpful? Give feedback.
Try changing the compiler flags in the Makefile to allow for large arrays:
EGS_EXTRA_LIBS = $(FLIBS) $(BEAMLIB_EXTRA_LIBS) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -mcmodel=large
This is a common question, there's more discussion here: https://www.reddit.com/r/EGSnrc/comments/jkcv4e/increase_the_maximun_number_of_voxels_in_xyz/