Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MUMPS compilation on WSL #5

Open
YumingN opened this issue Aug 22, 2024 · 0 comments
Open

MUMPS compilation on WSL #5

YumingN opened this issue Aug 22, 2024 · 0 comments

Comments

@YumingN
Copy link

YumingN commented Aug 22, 2024

Hi there,

I am having a hard time compiling the MUMPS (5.7.3) package on Windows 11 following the guide.
I have installed metis-5.1.0, Intel Base Toolkit, and Intel HPC Toolkit. It seems that mpiicc is no longer available, so I am using mpiicx and mpiifx in the Makefile.inc.
Now I got stuck during compilation, and I kept getting error with ld about undefined reference when running mpiifx:

...
make[2]: Entering directory '/home/yuming-wsl/MUMPS_5.7.3/src'
...
mpiifx -O -nofor-main -qopenmp  mumps_pivnul_mod.o ana_omp_m.o ana_blk_m.o ana_orderings_wrappers_m.o double_linked_list.o fac_asm_build_sort_index_ELT_m.o fac_asm_build_sort_index_m.o fac_descband_data_m.o fac_future_niv2_mod.o fac_ibct_data_m.o fac_maprow_data_m.o front_data_mgt_m.o lr_common.o mumps_comm_ibcast.o mumps_l0_omp_m.o mumps_memory_mod.o mumps_mpitoomp_m.o mumps_ooc_common.o sol_ds_common_m.o mumps_static_mapping.o omp_tps_common_m.o ana_blk.o ana_orderings.o ana_set_ordering.o ana_AMDMF.o bcast_errors.o estim_flops.o mumps_type2_blocking.o mumps_version.o mumps_print_defined.o mumps_addr.o mumps_common.o mumps_pord.o mumps_metis.o mumps_metis64.o mumps_metis_int.o mumps_scotch.o mumps_scotch64.o mumps_scotch_int.o mumps_io.o mumps_io_basic.o mumps_io_thread.o mumps_io_err.o mumps_numa.o mumps_thread.o mumps_save_restore_C.o mumps_config_file_C.o mumps_thread_affinity.o mumps_register_thread.o tools_common.o sol_common.o -Wl,-soname,libmumps_common.so -L../lib -Wl,-rpath,/home/yuming-wsl/MUMPS_5.7.3/lib/ -L/usr/local/lib -lmetis -L../PORD/lib/ -lpord  -L/opt/intel/oneapi/mkl/2024.2/lib/intel64 -lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64 -L/opt/intel/oneapi/mkl/2024.2/lib/intel64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lpthread -o ../lib/libmumps_common.so 
ld: /opt/intel/oneapi/compiler/2024.2/lib/libifcoremt.a(for_main.o): in function `main':
for_main.c:(.text+0x28): undefined reference to `MAIN__'
...

Similar error occurs when I try icx and ifx/mpiifort/ifort.

The Makefile.inc and its corresponding output message areattached.

Any help would greatly appreciated!

output.txt
Makefile.inc.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant