windows - Did gfortran drop svml support on Cygwin? -


i having trouble compiling fortran code on brand-new cygwin installation, can trace undefined references functions in intel svml (short vector math library) library.

specifically, getting errors of form

import_gamess.o:import_gamess.f90:(.text+0xb58b):  undefined reference `vmldpow2' 

and function vmldpow2 part of svml library, shown here, pass option gfortran in makefile as

f90 = gfortran -m64 -msse2 -o3 -march=native -mtune=native -fopenmp \   -ffast-math -fassociative-math -freciprocal-math -ffinite-math-only \   -fno-signed-zeros -fno-trapping-math -msahf -mmovbe -mrecip \   -mveclibabi=svml -ftree-vectorize -fexternal-blas    -fblas-matmul-limit=50  -static  

(i using libraries lapack , lblas.)

the file compiled fine on laptop, running cygwin 1.7.17 on windows 7. (this installed circa 2013-04-18; gfortran version there 4.5.3.) trying replicate installation on new desktop, running windows 7, , have installed cygwin 1.7.25. getting above errors on both 32-bit , 64-bit installs (running gfortran 4.7.3 , 4.8.1, respectively), new install of 64-bit cygwin on desktop. not getting errors on linux boot on same desktop, can't @ moment.

it clear me there either (a) broken link svml, or (b) missing parts of library, on newer cygwin installs. have searched extensively, best of ability, ways reinstate library, appears intrinsic part of gnu compiler. did gnu compiler, in fact, drop support library? if not, surmise need repair either library or files link it. in case, library available? files should repair , how?

i recognize, though, there distinct possibility i'm barking wrong tree , happy set straight on if that's case. should looking?

the site corresponding link gfortran 4.8.1 reads -mveclibabi:

to use option, both -ftree-vectorize , -funsafe-math-optimizations  have enabled, , svml or acml abi-compatible library must  specified @ link time.  

the same holds true versions 4.7.1 , 4.7.2.

my guess need have intel mkl installed (and environment set up) , link against it. additionally, need specify -funsafe-math-optimizations.

or, drop -mveclibabi=svml , use gfortran vectorizing intrinsics.


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -