Issue with manual memory management

Hello,
I am trying to manually handle data transfer in my code instead of using managed memory. I am receiving the following error:

pgfortran-Fatal-/opt/nvidia/hpc_sdk/Linux_x86_64/21.9/compilers/bin/tools/fort2 TERMINATED by signal 11
Arguments to /opt/nvidia/hpc_sdk/Linux_x86_64/21.9/compilers/bin/tools/fort2
/opt/nvidia/hpc_sdk/Linux_x86_64/21.9/compilers/bin/tools/fort2 /tmp/nvfortranVipfnjz6nMQb.ilm -fn src/io/reading.f90 -opt 2 -terse 1 -inform warn -x 51 0x20 -x 119 0xa10000 -x 122 0x40 -x 123 0x1000 -x 127 4 -x 127 17 -x 19 0x400000 -x 28 0x40000 -x 120 0x10000000 -x 70 0x8000 -x 122 1 -x 125 0x20000 -quad -vect 56 -y 34 16 -x 34 0x8 -x 32 134217728 -y 19 8 -y 35 0 -x 42 0x30 -x 39 0x40 -x 199 10 -x 39 0x80 -x 59 4 -tp zen -x 120 0x1000 -x 124 0x1400 -y 15 2 -x 57 0x3b0000 -x 58 0x48000000 -x 49 0x100 -astype 0 -x 121 1 -x 183 4 -x 121 0x800 -x 68 0x1 -x 8 0x40000000 -x 70 0x40000000 -x 56 0x10 -x 54 0x10 -x 249 110 -x 68 0x20 -x 70 0x40000000 -x 8 0x40000000 -x 164 0x800000 -x 85 0x2000 -x 85 0x4000 -x 34 0x40000000 -x 53 0x800000 -x 206 0x02 -x 68 0x1 -x 39 4 -x 56 0x10 -x 26 0x10 -x 26 1 -x 56 0x4000 -x 124 1 -accel tesla -x 180 0x4000400 -x 121 0xc00 -x 186 0x80 -x 180 0x4000400 -x 121 0xc00 -x 186 0x80 -x 163 0x1 -x 186 0x80000 -cudaver 11040 -x 194 0x40000 -cudaroot /opt/nvidia/hpc_sdk/Linux_x86_64/21.9/cuda/11.4 -x 176 0x100 -cudacap 86 -x 189 0x8000 -y 163 0xc0000000 -x 201 0xf0000000 -x 189 0x10 -y 189 0x4000000 -cudaroot /opt/nvidia/hpc_sdk/Linux_x86_64/21.9/cuda/11.4 -x 187 0x40000 -x 187 0x8000000 -x 9 1 -x 42 0x14200000 -x 72 0x1 -x 136 0x11 -x 37 0x480000 -x 9 1 -x 42 0x14200000 -x 72 0x1 -x 136 0x11 -x 37 0x480000 -x 129 2 -quad -x 119 0x10000000 -x 129 0x40000000 -x 0 0x1000000 -x 2 0x100000 -x 0 0x2000000 -x 161 16384 -x 162 16384 -cci /tmp/nvfortranNipf1scbYfNZ.cci -cmdline '+pgfortran src/io/reading.f90 -fast -Mvect=simd -Mflushz -Mcache_align -acc -Minfo=accel -ta=tesla -c' -stbfile /tmp/nvfortranFipfDP0y2bCI.stb -asm /tmp/nvfortran-ipf9LnRK7iJ.ll

I tried searching about this and it seems that it might be a compiler error that should have been fixed in the version of HPC SDK I am using (21.9).

I am compiling the code with the following command:

pgfortran -fast -acc -Minfo=accel -ta=tesla

The code is rather large, so I would be happy to provide it over email.

Thanks in advance for any help.

Hi Natan,

Looks like the back-end compiler itself is seg faulting for some reason, so getting a reproducer would be appreciated.

I’ll send you an email on how we can arrange for sending the code.

-Mat

1 Like

Looks like the problem is with a namelist being put in an enter data directive. While not legal, the compiler should handle this with a syntax error and not crash. Work around is to remove this line.

I filed TPR #31371 and sent it to engineering for review.

Thanks for the report!
Mat

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.