Giter Club home page Giter Club logo

Comments (10)

cdoucet avatar cdoucet commented on May 26, 2024

It seems that a function called 'zzzdotc' is expected. However, this function does not exist neither in ARPACK nor in BLAS/LAPACK. However, there indeed exists a function called 'zdotc' in BLAS/LAPACK. But I don't know if the error arises because of some spurious "zz" prefix or if it is due to some wrong syntax in the code. Run "grep -Rn zzzdotc *" from the src directory should help.

from freefem-sources.

cdoucet avatar cdoucet commented on May 26, 2024

Well, the error comes from ARPACK source files such as zneupd. Therefore it's pretty sure that a spurious prefix is generated.

from freefem-sources.

cdoucet avatar cdoucet commented on May 26, 2024

Or, it may be caused by some linking error with BLAS/LAPACK. I will look at it tomorrow.

from freefem-sources.

prj- avatar prj- commented on May 26, 2024

The functions are implemented in zzdotc and ccdotc. There are multiple errors when compiling the ARPACK library, e.g., error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /builds/workspace/FreeFem-source-develop-MacOSXNo/download/lib/libarpack.a is not writable (No such file or directory).

from freefem-sources.

frederichecht avatar frederichecht commented on May 26, 2024

from freefem-sources.

sgarnotel avatar sgarnotel commented on May 26, 2024

The configuration script is the following:

#!/bin/sh

autoreconf -i \
	&& ./configure --enable-optim --enable-download --disable-pastix --prefix=/builds/freefem-source-develop \
	&& ./download/getall -a \
	&& make -j4 \
	&& make check \
    && make install

from freefem-sources.

prj- avatar prj- commented on May 26, 2024

@frederichecht la compilation est parallèle, l'erreur ne vient pas de l'édition de liens pour ffglut mais pour FreeFem++-nw et FreeFem++.

@sgarnotel using make -j1 should fix this.

from freefem-sources.

frederichecht avatar frederichecht commented on May 26, 2024

from freefem-sources.

sgarnotel avatar sgarnotel commented on May 26, 2024

I send you an email with instructions

from freefem-sources.

sgarnotel avatar sgarnotel commented on May 26, 2024

Solved by @frederichecht

Bug was multiple execution of the following script:

case '$(BLASLIBS)' in *vecLib*|*Accelerate*|*mkl*) \
         for i in  ARPACK/LAPACK/zlatrs.f ARPACK/LAPACK/ztrsyl.f ARPACK/SRC/zgetv0.f ARPACK/SRC/znaitr.f ARPACK/SRC/znaup2.f ARPACK/SRC/zneupd.f;\
	   do  mv  $$i $$i.cpy; sed -e 's/ZDOTC/ZZDOTC/' -e 's/zdotc/zzdotc/' <$$i.cpy >$$i;rm $$i.cpy; \
	    done; \
         for i in  ARPACK/LAPACK/clatrs.f ARPACK/LAPACK/ctrsyl.f ARPACK/SRC/cgetv0.f ARPACK/SRC/cnaitr.f ARPACK/SRC/cnaup2.f ARPACK/SRC/cneupd.f;\
	   do  mv  $$i $$i.cpy; sed -e 's/CDOTC/CCDOTC/' -e 's/cdotc/ccdotc/' <$$i.cpy >$$i;rm $$i.cpy; \
	    done; \
	 esac 

from freefem-sources.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.