nlafet / starneig Goto Github PK
View Code? Open in Web Editor NEWA Task-based Library for Solving Dense Nonsymmetric Eigenvalue Problems
Home Page: https://nlafet.github.io/StarNEig/
License: Other
A Task-based Library for Solving Dense Nonsymmetric Eigenvalue Problems
Home Page: https://nlafet.github.io/StarNEig/
License: Other
Opening a separate issue, so it is easier to track.
Perhaps this is why tests fail? Or at least one of the reasons.
Process: starneig-test [3081]
Path: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_StarNEig/StarNEig/work/build/starneig-test
Identifier: starneig-test
Version: ??? (???)
Code Type: PPC (Native)
Parent Process: ctest-orig [3043]
Date/Time: 2023-06-02 19:57:59.391 +0800
OS Version: Mac OS X 10.6 (10A190)
Report Version: 6
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x000000008fe01078
Crashed Thread: 0
Dyld Error Message:
Symbol not found: _starpu_mpi_world_rank
Referenced from: /opt/local/lib/libstarpu-1.4.1.dylib
Expected in: dynamic lookup
What is there:
36-25% nm -arch ppc -g /opt/local/lib/libstarpu-1.4.1.dylib | grep mpi
0001eeec T _starpu_asynchronous_mpi_ms_copy_disabled
0001ef90 T _starpu_mpi_ms_worker_get_count
CMakeLists check for presence of aligned_alloc
, but then nothing is done if it is not present.
Line 544 in d47ed4d
Expectedly, the build fails then with:
Undefined symbols:
"_aligned_alloc", referenced from:
_alloc_matrix in common.c.o
ld: symbol(s) not found
collect2: error: ld returned 1 exit status
make[2]: *** [starneig-test] Error 1
Compiler recommends including stdlib.h
, but it does not help:
/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_StarNEig/StarNEig/work/StarNEig-0.1.8/test/common/common.c: In function 'alloc_matrix':
/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_StarNEig/StarNEig/work/StarNEig-0.1.8/test/common/common.c:108:11: warning: implicit declaration of function 'aligned_alloc' [-Wimplicit-function-declaration]
108 | ptr = aligned_alloc(64, n*(*ld)*elemsize);
| ^~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_StarNEig/StarNEig/work/StarNEig-0.1.8/test/common/common.c:43:1: note: include '<stdlib.h>' or provide a declaration of 'aligned_alloc'
42 | #include <stdio.h>
+++ |+#include <stdlib.h>
43 | #include <stdlib.h>
/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_StarNEig/StarNEig/work/StarNEig-0.1.8/test/common/common.c:108:11: warning: incompatible implicit declaration of built-in function 'aligned_alloc' [-Wbuiltin-declaration-mismatch]
108 | ptr = aligned_alloc(64, n*(*ld)*elemsize);
| ^~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_StarNEig/StarNEig/work/StarNEig-0.1.8/test/common/common.c:108:11: note: include '<stdlib.h>' or provide a declaration of 'aligned_alloc'
lfortran
is an experimental compiler and it should not, I believe, be prioritized even if it is installed.
However I get this on macOS Sonoma:
-- Check for working Fortran compiler: /opt/local/bin/lfortran
-- Check for working Fortran compiler: /opt/local/bin/lfortran - broken
CMake Error at /opt/local/share/cmake-3.24/Modules/CMakeTestFortranCompiler.cmake:61 (message):
The Fortran compiler
"/opt/local/bin/lfortran"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_math_StarNEig/StarNEig/work/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_5ddb6/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_5ddb6.dir/build.make CMakeFiles/cmTC_5ddb6.dir/build
Building Fortran object CMakeFiles/cmTC_5ddb6.dir/testFortranCompiler.f.o
/opt/local/bin/lfortran -pipe -Os -m64 -c /opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_math_StarNEig/StarNEig/work/build/CMakeFiles/CMakeTmp/testFortranCompiler.f -o CMakeFiles/cmTC_5ddb6.dir/testFortranCompiler.f.o
The following arguments were not expected: -m64 -Os -pipe
Run with --help for more information.
make[1]: *** [CMakeFiles/cmTC_5ddb6.dir/testFortranCompiler.f.o] Error 109
make: *** [cmTC_5ddb6/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
src/CMakeLists.txt:32 (project)
-- Configuring incomplete, errors occurred!
Needless to say, gfortran
is installed and works perfectly fine.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.