[gmx-developers] Segfault in 2021-beta1 enabling SVE and ArmIE emulator

Paul bauer paul.bauer.q at gmail.com
Tue Oct 27 10:45:07 CET 2020


Hello Gilles,

can there be a check at CMake time for this? If so I can add this.

Cheers

Paul

On 27/10/2020 10:04, Gilles Gouaillardet wrote:
> Guido,
>
>
> The SVE vector length must be fixed at cmake time, and the default 
> value is 512.
>
> In your case, you have to pass
>
> -DGMX_SIMD_ARM_SVE_LENGTH=256
>
> to your cmake command line.
>
>
> Cheers,
>
>
> Gilles
>
> On 10/27/2020 5:58 PM, Guido Giuntoli wrote:
>>
>> Hi,
>>
>> I have run the nonbonded-benchmark using the ArmIE emulator.
>>
>> I compiled gmx_d (DOUBLE FP) with GCC 10.2 for SVE by using:
>>
>> *CC=gcc-10 CXX=g++-10 \*
>>
>> *cmake .. \*
>>
>> *        -DCMAKE_BUILD_TYPE=Release \*
>>
>> *-DCMAKE_C_FLAGS="-march=armv8-a+sve" \*
>>
>> *-DCMAKE_CXX_FLAGS="-march=armv8-a+sve" \*
>>
>> *        -DGMX_MPI=off \*
>>
>> *        -DGMX_GPU=off \*
>>
>> *        -DGMX_USE_OPENCL=off \*
>>
>> *        -DGMX_BUILD_MDRUN_ONLY=off \*
>>
>> *        -DGMX_DOUBLE=on \*
>>
>> *        -DGMX_SIMD=ARM_SVE \*
>>
>> *        -DBUILD_SHARED_LIBS=off \*
>>
>> *        -DGMX_FFT_LIBRARY=fftw3 \*
>>
>> *        -DGMX_INSTALL_NBLIB_API=OFF \*
>>
>> *        -DGMXAPI=OFF \*
>>
>> *        | tee cmake.log*
>>
>> I ran the benchmark with:
>>
>> *armie -msve-vector-bits=256 \*
>>
>> *        gmx_d nonbonded-benchmark \*
>>
>> *        -size 1 \*
>>
>> *        -nt 1 \*
>>
>> *        -simd 4xm \*
>>
>> *        -coulomb ewald \*
>>
>> *        -notable \*
>>
>> *        -combrule geometric \*
>>
>> *        -nohalflj \*
>>
>> *        -noenergy \*
>>
>> *        -noall \*
>>
>> *        -cutoff 1 \*
>>
>> *        -iter 5 \*
>>
>> *        -warmup 0 \*
>>
>> *        -nocycles*
>>
>> I get:
>>
>> *armie's SVESigHandler caught signal SIGSEGV from the process being 
>> emulated, passing it to the default signal handler.*
>>
>> *Guest process terminated by signal: 15152 Segmentation fault /home/… 
>> /codes/gromacs/gromacs-2021-beta1/build-sve/bin/gmx_d*
>>
>> According to the last meeting, I am eager to know if this branch has 
>> passed the regression tests using SVE. BTW, are you using SVE-enabled 
>> hardware or emulation for your development/tests?
>>
>> *Best regards | Mit freundlichen Grüßen*
>>
>> **
>>
>> *Guido Giuntoli***
>>
>> **
>>
>> HUAWEI TECHNOLOGIES Duesseldorf GmbH
>> Hansaallee 205, 40549 Dusseldorf, Germany, *www.huawei.com* 
>> <http://www.huawei.com/>
>> Registered Office: Düsseldorf, Register Court Düsseldorf, HRB 56063,
>> Managing Director: Li Peng, Li Jian, Shi Yanli**
>>
>> Sitz der Gesellschaft: Düsseldorf, Amtsgericht Düsseldorf, HRB 56063,
>> Geschäftsführer: Li Peng, Li Jian, Shi Yanli
>>
>> *-----------------------------------------------------------------------------------------------* 
>>
>>
>> *This e-mail and its attachments contain confidential information 
>> from HUAWEI, which is intended only for the person or entity whose 
>> address is listed above. Any use of the information contained herein 
>> in any way (including, but not limited to, total or partial 
>> disclosure, reproduction, or dissemination) by persons other than the 
>> intended recipient(s) is prohibited. If you receive this e-mail in 
>> error, please notify the sender by phone or email immediately and 
>> delete it!***
>>
>>

-- 
Paul Bauer, PhD
GROMACS Development Manager
KTH Stockholm, SciLifeLab
0046737308594



More information about the gromacs.org_gmx-developers mailing list