trilinos / Trilinos

Primary repository for the Trilinos Project
https://trilinos.org/
Other
1.19k stars 565 forks source link

Trilinos will compile for 32bit target? #13290

Open jsmith173 opened 1 month ago

jsmith173 commented 1 month ago

Question

Trilinos will compile for 32bit target or it is supported for 64 bit target only? My defines are the followings:

MSYS2_ARG_CONV_EXCL="-DCMAKE_INSTALL_PREFIX=" \ ${MINGW_PREFIX}/bin/cmake \ -GNinja \ -DCMAKE_INSTALL_PREFIX=${MINGW_PREFIX} \ "${extra_config[@]}" \ -DBLAS_LIBRARY_NAMES="openblas" \ -DLAPACK_LIBRARY_NAMES="openblas" \ -DTrilinos_ENABLE_ALL_OPTIONAL_PACKAGES=ON \ -DTrilinos_ENABLE_Fortran=ON \ -DTrilinos_ENABLE_Ifpack=ON \ -DTrilinos_ENABLE_Sacado=ON \ -DTrilinos_ENABLE_TrilinosCouplings=ON \ -DTrilinos_ENABLE_Teuchos=ON \ -DTrilinos_ENABLE_COMPLEX_DOUBLE=ON \ -DTrilinos_ENABLE_Epetra=ON \ -DTrilinos_ENABLE_EpetraExt=ON \ -DEpetraExt_BUILD_BTF=ON \ -DEpetraExt_BUILD_EXPERIMENTAL=ON \ -DEpetraExt_BUILD_GRAPH_REORDERINGS=ON \ -DTPL_ENABLE_AMD=ON \ -DTPL_AMD_LIBRARIES=${MINGW_PREFIX}/lib \ -DTPL_AMD_INCLUDE_DIRS=${MINGW_PREFIX}/include/suitesparse \ -DTPL_ENABLE_DLlib=OFF \ -DTrilinos_ENABLE_AztecOO=ON \ -DTrilinos_ENABLE_Amesos=ON \ -DAmesos_ENABLE_KLU=ON \ -DTrilinos_ENABLE_Belos=ON \ -DTrilinos_ENABLE_NOX=ON \ -DTrilinos_ENABLE_Kokkos=ON \ -DTrilinos_ENABLE_ML=OFF \ -DTrilinos_ENABLE_Intrepid=OFF \ -DTrilinos_ENABLE_Intrepid2=OFF \ -DTrilinos_ENABLE_SEACAS=OFF \ -DTrilinos_ENABLE_Zoltan=OFF \ -DTrilinos_ENABLE_Xpetra=OFF \ -DTrilinos_ENABLE_Tpetra=OFF \ -DKokkos_ENABLE_LIBDL=OFF \ ../Trilinos-${_realname}-release-${_pkgver}

cgcgcg commented 1 month ago

I don't think anyone has tried to build on a 32 bit system in a while. Do you see any specific build errors?

jsmith173 commented 1 month ago

I did't tried but I won't try if it not supported because it requires a lot of libraries on MSYS2

jhux2 commented 1 month ago

@jrobcary might have experience with this.