Giter Club home page Giter Club logo

Comments (8)

aamaricci avatar aamaricci commented on July 27, 2024

from scifortran.

WangYun1995 avatar WangYun1995 commented on July 27, 2024

Unfortunately not. But, once installed, using SciFortran is quite straightforward. You need to use the scifor module program test USE SCIFOR implicit none real(8) :: vec(100),M(100,100) vec = linspace(0d0,1d0,100) M(:,:) = eye(100) M = diag(vec) call inv(M) call eigh(M,vec) ..... end test So far there is no documentation so you need to take a look inside the source modules for the available procedures. The naming convention and input variables are quite similar to that of scipy. Cheers. AA

On Mon, Nov 30, 2020 at 9:58 AM WangYun1995 @.***> wrote: — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#2>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARRDWFMO6M3U7VPXAISK6LSSNNDNANCNFSM4UHIQDKQ .

Thank you for your reply!
By the way, my machine is Red Hat 6.3.1-1. You said that SciFortran is dependent on Lapack and Blas libraries and both of them can be installed using cmake.

To be honest, I am completely unfamiliar with cmake. Could you give me some examples of how to install Blas/Lapack using cmake?

Thank you again.

from scifortran.

aamaricci avatar aamaricci commented on July 27, 2024

from scifortran.

WangYun1995 avatar WangYun1995 commented on July 27, 2024

The SciFortran Cmake installation checks if Blas/Lapack are installed on your system. If so it uses them, otherwise Scifor will compile and use internal Blas/Lapack libraries. So you should not do anything in particular. This procedures ensures that user can link against the most optimized version of Blas/Lapack so to improve execution time. Cheers. AA On Mon, Nov 30, 2020 at 10:32 AM WangYun1995 [email protected] wrote:

Unfortunately not. But, once installed, using SciFortran is quite straightforward. You need to use the scifor module program test USE SCIFOR implicit none real(8) :: vec(100),M(100,100) vec = linspace(0d0,1d0,100) M(:,:) = eye(100) M = diag(vec) call inv(M) call eigh(M,vec) ..... end test So far there is no documentation so you need to take a look inside the source modules for the available procedures. The naming convention and input variables are quite similar to that of scipy. Cheers. AA … <#m_499543067700771293_> On Mon, Nov 30, 2020 at 9:58 AM WangYun1995 @.***> wrote: — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#2 <#2>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARRDWFMO6M3U7VPXAISK6LSSNNDNANCNFSM4UHIQDKQ . Thank you for your reply! By the way, my machine is Red Hat 6.3.1-1. You said that SciFortran is dependent on Lapack and Blas libraries and both of them can be installed using cmake. To be honest, I am completely unfamiliar with cmake. Could you give me some examples of how to install Blas/Lapack using cmake? Thank you again. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#2 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARRDWBFHGDX4Z3DPRF5BHTSSNRB7ANCNFSM4UHIQDKQ .

You mean I don't need to install Lapack/Blas manually before installing SciFortran?
And Does SciFortran boost performance greatly?

from scifortran.

aamaricci avatar aamaricci commented on July 27, 2024

from scifortran.

WangYun1995 avatar WangYun1995 commented on July 27, 2024

Thank you for your nice explanation!

from scifortran.

WangYun1995 avatar WangYun1995 commented on July 27, 2024

Does it need additional compile options when I compile the Fortran code which contains scifor by gfortran?

from scifortran.

aamaricci avatar aamaricci commented on July 27, 2024

from scifortran.

Related Issues (19)

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.