Licensing

Licensing

Running MAPDL 2021 R1 (or prior releases) distributed solving on newer version Linux (such as SLES 15.X, RHEL 8.X) with default Intel MPI 2018.3 may get below error: forrtl: severe (174): SIGSEGV, segmentation fault occurred Image PC Routine Line Source libifcoremt.so.5 00007F4D6B351522 for__signal_handl Unknown Unknown libpthread-2.26.s 00007F4D3861E2D0 Unknown Unknown Unknown libc-2.26.so 00007F4D35EA27A2 strtok_r Unknown Unknown libmpi.so.12.0 00007F4D34E9B591 __I_MPI___intel_s Unknown Unknown libmpi.so.12.0 00007F4D34D5D8F5 Unknown Unknown Unknown libmpi.so.12.0 00007F4D34D606…

    • FAQFAQ
      Participant

      Attempting to use legacy versions of Intel® MPI Library on newer operating systems will lead to segmentation faults. The segfault is due to an incompatibility in glibc. Option #1: Create a file strtok_proxy.c with attached code. Compile this file using the following commands: gcc -c -Wall -Werror -fpic ./strtok_proxy.c gcc -ldl -shared -o ./strtok_proxy.so ./strtok_proxy.o And apply the generated library at runtime using the following: export LD_PRELOAD=./strtok_proxy.so Option #2: Try Intel MPI 2019.8 included in 2021 R1 installation, backup and edit {installed_path}/v211/ansys/bin/anssh.ini file. 1.Uncomment line # 1880 from: ##ANS_TEMP=”${ANS_TEMP}:${ANSYSCOMMON_DIR}/MPI/Intel/${intel_mpi_version}/${ANSYS_SYSDIR}/bin/legacy” To: ANS_TEMP=”${ANS_TEMP}:${ANSYSCOMMON_DIR}/MPI/Intel/${intel_mpi_version}/${ANSYS_SYSDIR}/bin/legacy” 2.Uncomment line #1889 and #1890 from: ##setenv I_MPI_VAR_CHECK_SPELLING “0” ##setenv FI_PROVIDER_PATH “${I_MPI_ROOT}/libfabric/lib/prov” To: setenv I_MPI_VAR_CHECK_SPELLING “0” setenv FI_PROVIDER_PATH “${I_MPI_ROOT}/libfabric/lib/prov” 3.Uncomment line # 1952 from: ##ANS_TEMP=”${ANS_TEMP}:${ANSYSCOMMON_DIR}/MPI/Intel/${intel_mpi_version}/${ANSYS_SYSDIR}/libfabric/lib” To: ANS_TEMP=”${ANS_TEMP}:${ANSYSCOMMON_DIR}/MPI/Intel/${intel_mpi_version}/${ANSYS_SYSDIR}/libfabric/lib” 4.Change line # 2207 from: setenv intel_mpi_version “2018.3.222” to 2019.8.254: setenv intel_mpi_version “2019.8.254” 5.Comment out lines # 2242-2244 from: if [ -z “${I_MPI_DYNAMIC_CONNECTION}” ]; then setenv I_MPI_DYNAMIC_CONNECTION “no” fi To ## if [ -z “${I_MPI_DYNAMIC_CONNECTION}” ]; then ## setenv I_MPI_DYNAMIC_CONNECTION “no” ## fi

      Attachments:
      1. 2064809.zip