Home My Page Projects PaStiX
Summary Activity Forums Lists Docs News Files

Forum: open-discussion

Monitor Forum | Start New Thread Start New Thread
RE: compiling problems on Arch Linux [ Reply ]
By: Pierre Ramet on 2017-03-15 16:39
[forum:151228]
Sorry for this late reply.

I forget to mention on the last release for PaStiX (5.2.3) that the cmake procedure need a dumb preprocessing step before configure :

Inside the src repository :
- cp config/LINUX-GNU.in ./config.in
(any configuration file can be used and not need to be modified)
- make murge_up
- make sopalin/src/murge_fortran.c

Then you can continue with the cmake procedure.

This release has been checked with the spack procedure (http://morse.gforge.inria.fr/spack/spack.html).
And a new release of PaStiX 6.0 should be soon available on : https://gitlab.inria.fr/solverstack/pastix

Best regards,
Pierre.

compiling problems on Arch Linux [ Reply ]
By: Nobody on 2016-11-26 12:24
[forum:151224]
Hello,

Please could you help me with these two problems.

1)

Using this package:

https://gforge.inria.fr/frs/download.php/latestfile/218/pastix_5.2.3.tar.bz2

Compiling via CMake I get this error:

-- Configuring done
CMake Error at cmake_modules/PastixLib.cmake:22 (add_library):
Cannot find source file:

sopalin/src/murge_fortran.c

Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx
Call Stack (most recent call first):
CMakeLists.txt:210 (include)


CMake Error: Cannot determine link language for target "pastix_murge".
CMake Error: CMake can not determine linker language for target: pastix_murge

There is no such file in the source tree so I make this change:

sed -i 's/murge_fortran/murge_pastix_fortran/' \
pastix_5.2.3/src/cmake_modules/PastixLibSrc.cmake

Compilation progresses until the next problem, below.

2)



[ 2%] Building C object CMakeFiles/pastix_murge.dir/sopalin/src/murge_pastix_fortran.c.o
In file included from /home/myles/myaur/repos/pastix/src/pastix_5.2.3/src/sopalin/src/murge_pastix_fortran.c:31:0:
/home/myles/myaur/repos/pastix/src/pastix_5.2.3/src/sopalin/src/murge_pastix.h:66:1: error: unknown type name 'INTS'
INTS MURGE_Analyze(INTS id);
^~~~
/home/myles/myaur/repos/pastix/src/pastix_5.2.3/src/sopalin/src/murge_pastix.h:66:20: error: unknown type name 'INTS'
INTS MURGE_Analyze(INTS id);
^~~~

Since both problems involve murge I am wondering if the first 'fix' is the right things to do at all.

Thanks,
Myles