Coder Social home page Coder Social logo

Comments (11)

JanThorbecke avatar JanThorbecke commented on June 11, 2024

Hello mirmusz,

The library with math functions is missing. Can you add in your Make_include:

#LIBARIES
LIBS= -L$L -lgenfft $(BLAS) -lm

#ar FLAGS
ARFLAGS = rvU

The 'rvU' should fix the warning with the libraries and the '-lm' includes the math libraries. Can you let me know if this fixes your problem?

all the best,

Jan

from opensource.

mirmusz avatar mirmusz commented on June 11, 2024

Dear Sir Jan,

Thank you for the reply. I have added as per instructed. Seems the errors being reduced. Here is the next error I got:
error2.txt

Here also my make_include file for your references:
make_include.txt

I noticed this step in the installation guide
set
I did not make any change of it yet. Is it leads to the errors?

Regards,
mirmusz

from opensource.

JanThorbecke avatar JanThorbecke commented on June 11, 2024

You are almost there and only the extrap directory has a problem. Can you add in the Make_include

#LIBARIES
LIBS= -L$L -lgenfft $(BLAS)
ifeq ($(FC),ifort)
LIBS += -lifcore
endif
ifeq ($(FC),gfortran)
LIBS += -lgfortran
endif

To use the generated executables you have to set the directory in the PATH variable: replace 'path_to_this_directory' with the path where you have the Make_include (command 'pwd' in unix).

with kind regards,

Jan

from opensource.

mirmusz avatar mirmusz commented on June 11, 2024

This is the outcomes after I added the lines:
error3.txt

The make_include looks like this:
lib

Regards,
mirmusz

from opensource.

JanThorbecke avatar JanThorbecke commented on June 11, 2024

As a workaround can you add the following in

extrap/main/Makefile

LIBS += -L$L -lextrap2d -lgenfft $(BLAS) -lgfortran -lm

I will try to fix this in a better way on the GitHub.

from opensource.

mirmusz avatar mirmusz commented on June 11, 2024

After I added the lines in extrap/main/Makefile, I got this error:
nofor

Then I edit MDD/Makefile, change -nofor-main to -Wno-main and redo "make".

Here is the final outcomes:
final.txt

Looks like no more errors message. It is completed? :)

from opensource.

JanThorbecke avatar JanThorbecke commented on June 11, 2024

Well done all code has compiled succesfully !

from opensource.

mirmusz avatar mirmusz commented on June 11, 2024

Thank you so much for the great help Sir Jan! Really appreciate it!

from opensource.

mirmusz avatar mirmusz commented on June 11, 2024

Hello Sir Jan,

I tried to install again using your updated version of the package. I got this error.
mkl error

from opensource.

JanThorbecke avatar JanThorbecke commented on June 11, 2024

The include files of Intel's MKL can not be found. In the Make_include the MKLROOT variable it not set to the correct path where MKL is located. You have to change the current setting MKLROOT=/opt/intel/mkl/ to the path where MKL is located on your machine.

from opensource.

mirmusz avatar mirmusz commented on June 11, 2024

Dear Sir Jan,

Great! In my machine, I noticed the "include" is located in /opt/intel/oneapi/mkl/2021.3.0
mkl_loc

Done with the installation.

Thanks.

from opensource.

Related Issues (10)

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.