Discussion:
altivec compiler
Mark Brethen
2018-11-23 15:38:54 UTC
Permalink
Taucs is a C library of sparse linear solvers that is a dependency for calculix-ccx. Looking at its config, it assigns

CFLAGS = -O3 -faltivec
LIBBLAS = -framework vecLib

1. Is altivec supported in the macports compilers group?
2. There is a vecLib framework in /System/Frameworks but I’m not familiar with it. Would the atlas port suffice for libBlas and libLapack?

Mark Brethen
***@gmail.com
Ken Cunningham
2018-11-23 17:19:13 UTC
Permalink
all the standard MacPorts compilers (gcc versions, clang versions) support the -faltivec flag.

This flag is only useful on PowerPC systems, which I would be surprised if you were targeting. Is that the system you're after? The fact that it's still in the config suggests this is a very old piece of software.

BTW, for practical purposes, only gcc versions offer useful PowerPC code generation at present.

K
Post by Mark Brethen
Taucs is a C library of sparse linear solvers that is a dependency for calculix-ccx. Looking at its config, it assigns
CFLAGS = -O3 -faltivec
LIBBLAS = -framework vecLib
1. Is altivec supported in the macports compilers group?
2. There is a vecLib framework in /System/Frameworks but I’m not familiar with it. Would the atlas port suffice for libBlas and libLapack?
Mark Brethen
Mark Brethen
2018-11-23 17:40:54 UTC
Permalink
Version 2.2 was released September 4, 2003. I found a BSD port and trying their setup with a fortran compiler. Which port should I be using for blas and lapack? Arpack is currently installed on my system with variants +accelerate +gfortran +mpich only.

Mark Brethen
Post by Ken Cunningham
all the standard MacPorts compilers (gcc versions, clang versions) support the -faltivec flag.
This flag is only useful on PowerPC systems, which I would be surprised if you were targeting. Is that the system you're after? The fact that it's still in the config suggests this is a very old piece of software.
BTW, for practical purposes, only gcc versions offer useful PowerPC code generation at present.
K
Post by Mark Brethen
Taucs is a C library of sparse linear solvers that is a dependency for calculix-ccx. Looking at its config, it assigns
CFLAGS = -O3 -faltivec
LIBBLAS = -framework vecLib
1. Is altivec supported in the macports compilers group?
2. There is a vecLib framework in /System/Frameworks but I’m not familiar with it. Would the atlas port suffice for libBlas and libLapack?
Mark Brethen
Ken Cunningham
2018-11-23 18:00:30 UTC
Permalink
If you provide a URL to the software, it's likely that someone will help you sort it out, if you have a bit of patience. There are lots of people like that around here.

Alternatively, and perhaps better, you could open a ticket to request a new port for it, and we can track progress there.

If it hasn't seen an update since 2003, enthusiasm will be lower, tho.

Ken
Post by Mark Brethen
Version 2.2 was released September 4, 2003. I found a BSD port and trying their setup with a fortran compiler. Which port should I be using for blas and lapack? Arpack is currently installed on my system with variants +accelerate +gfortran +mpich only.
Mark Brethen
Post by Ken Cunningham
all the standard MacPorts compilers (gcc versions, clang versions) support the -faltivec flag.
This flag is only useful on PowerPC systems, which I would be surprised if you were targeting. Is that the system you're after? The fact that it's still in the config suggests this is a very old piece of software.
BTW, for practical purposes, only gcc versions offer useful PowerPC code generation at present.
K
Post by Mark Brethen
Taucs is a C library of sparse linear solvers that is a dependency for calculix-ccx. Looking at its config, it assigns
CFLAGS = -O3 -faltivec
LIBBLAS = -framework vecLib
1. Is altivec supported in the macports compilers group?
2. There is a vecLib framework in /System/Frameworks but I’m not familiar with it. Would the atlas port suffice for libBlas and libLapack?
Mark Brethen
Mark Brethen
2018-11-24 23:46:28 UTC
Permalink
I submitted a request: #57669 <https://trac.macports.org/ticket/57669> and noted where a current pkg for bsd can be found. So it may be doable.


Mark Brethen
Post by Ken Cunningham
If you provide a URL to the software, it's likely that someone will help you sort it out, if you have a bit of patience. There are lots of people like that around here.
Alternatively, and perhaps better, you could open a ticket to request a new port for it, and we can track progress there.
If it hasn't seen an update since 2003, enthusiasm will be lower, tho.
Ken
Post by Mark Brethen
Version 2.2 was released September 4, 2003. I found a BSD port and trying their setup with a fortran compiler. Which port should I be using for blas and lapack? Arpack is currently installed on my system with variants +accelerate +gfortran +mpich only.
Mark Brethen
Post by Ken Cunningham
all the standard MacPorts compilers (gcc versions, clang versions) support the -faltivec flag.
This flag is only useful on PowerPC systems, which I would be surprised if you were targeting. Is that the system you're after? The fact that it's still in the config suggests this is a very old piece of software.
BTW, for practical purposes, only gcc versions offer useful PowerPC code generation at present.
K
Post by Mark Brethen
Taucs is a C library of sparse linear solvers that is a dependency for calculix-ccx. Looking at its config, it assigns
CFLAGS = -O3 -faltivec
LIBBLAS = -framework vecLib
1. Is altivec supported in the macports compilers group?
2. There is a vecLib framework in /System/Frameworks but I’m not familiar with it. Would the atlas port suffice for libBlas and libLapack?
Mark Brethen
Loading...