Giter VIP home page Giter VIP logo

fmmlib2d's People

Contributors

ahbarnett avatar zgimbutas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

fmmlib2d's Issues

MacOS Compile Instructions 02/2024

To get this to compile on an Apple Silicon running MacOS (Sonoma 14.3) with maca64 Matlab, I had to do the following:

  • Change all instances of MEX= mex to MEX=/Applications/MATLAB_R20XX/bin/mex
  • Configure mex to have a real gcc compiler option.

Note on mac by default gcc (/usr/bin/gcc) is a symlink to clang. You'll need to install gcc from homebrew (or macports etc). gcc-11 worked for me
brew install gcc@11
Type gcc-11 into terminal to check that this has installed properly.
To configure mex to use this compiler, you'll then need to add an xml file to /Applications/MATLAB_R20XX/bin/maca64/mexopts which specifies which version of gcc and the architecture. Examples for intel macs can be found here (https://github.com/danfortunato/matlab-gcc).
I cobbled this one together from the intel examples and the clang_maca64.xml that MATLAB uses by default. It worked for me but I'm not an expert in C compiler flags etc by any means so there may be some nonsensical things in there.
gcc_maca64.xml.txt
(.txt added so could upload to markdown, remove this)
With this in place, run
mex -setup c
and choose the gcc option you added.
Now try the typical install instructions.

make mwrap
make mex-matlab 
make test-mex-matlab

Good luck!

Original matlab code for zfmm2dparttarg

Hey,

I am trying to develop an implementation where your functions of zfmm2d are used to calculate conformal mappings. This works, but now I want to convert all the matlab code to C/C++ code, with the purpose to use its functionality in other languages like C#.

For this conversion I use Matlab Coder, but because zfmm2d are already converted to C/C++ code to be used in a MEX stub, this is unfortunately not possible.

Is there a way to access the original matlab code for the zfmm2d functions (in particular zfmm2dparttarg), before it was converted to C/C++ code?

Many thanks,

Tim

Error while compiling library

When trying to test the library with make test, many errors were thrown in print statements.
I'm compiling with gfortran (gcc 10.2.0)

So I tried to change my default fortran compilator by adding the flag -std=f95 in the make files, thinking my default gfortran compilator is too recent.
Which did not work either. And neither did the flag -std=f2008.

Am I missing something ?

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.