-
Notifications
You must be signed in to change notification settings - Fork 67
Description
Hi, I would like to compile CFAST to be able to perform simulations for a building with more than 100 rooms. I am using Ubuntu 22.04, gfortran compiler. I set the mxrooms parameter in the cfast_parameters.f90 file to 751 and I get the following error:
"
solve.o: in function __solve_routines_MOD_solve_simulation': solve.f90:(.text+0x5997): relocation truncated to fit: R_X86_64_PC32 against
.bss'
solve.f90:(.text+0x59c5): relocation truncated to fit: R_X86_64_PC32 against .bss' solve.f90:(.text+0x59f3): relocation truncated to fit: R_X86_64_PC32 against
.bss'
solve.f90:(.text+0x5a21): relocation truncated to fit: R_X86_64_PC32 against .bss' solve.f90:(.text+0x5a4f): relocation truncated to fit: R_X86_64_PC32 against
.bss'
solve.f90:(.text+0x5a7d): relocation truncated to fit: R_X86_64_PC32 against .bss' solve.f90:(.text+0x5aab): relocation truncated to fit: R_X86_64_PC32 against
.bss'
solve.f90:(.text+0x5ad9): relocation truncated to fit: R_X86_64_PC32 against .bss' solve.f90:(.text+0x5b16): relocation truncated to fit: R_X86_64_PC32 against
.bss'
solve.f90:(.text+0x5b44): relocation truncated to fit: R_X86_64_PC32 against `.bss'
solve.f90:(.text+0x5b72): additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status
make: *** [../makefile:110: gnu_linux_64] Error 1
"
I noticed that the limit value for mxrooms is 174. If I set mxrooms below this value, the program compiles. If I set mxrooms above 174 it displays the above mentioned error or a slightly different one.
I also had an error when I tried to compile on an Intel compiler on Windows using Visual Studio. Then the maximum value of mxrooms for which the compiler compiled into the .exe file was 171. When I set a higher value, an error was displayed:
"
Severity Code Description Project File Line Suppression State Details
Error fatal error LNK1248: image size (80A64000) exceeds maximum allowable size (80000000) LINK
"
Do you know how to solve these problems so that I can compile for mxrooms set to for example 751 and the program will work properly?
Thank you in advance for your help and best regards