Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

harminv: How to use in a Julia environment #6

Open
ceysa75 opened this issue Apr 3, 2018 · 3 comments
Open

harminv: How to use in a Julia environment #6

ceysa75 opened this issue Apr 3, 2018 · 3 comments

Comments

@ceysa75
Copy link

ceysa75 commented Apr 3, 2018

Dear Steven,

coming from the Fortran/Matlab world I decided to make Julia to my language of choice. Recently, I have discovered harminv which I would really like to use. However, I am clueless about anything related to c (compiling, running etc). Do you have an idea on how to make your library run under Julia ?? I am on windows 7 btw.

Thank you

@stevengj
Copy link
Collaborator

stevengj commented Apr 3, 2018

In principle, you just need to ccall the harminv library — Julia makes calling C libraries pretty straightforward. But you have to understand C.

You could also call the harminv command-line program through a pipe object in Julia...

Either way you need to compile it for Windows.

@ceysa75
Copy link
Author

ceysa75 commented Apr 4, 2018

Thank you for the fast respond,

Ok then, I'll look for someone who is able to compile your code for me. Any future plans to make a julia version of harminv ?

Regards

@stevengj
Copy link
Collaborator

stevengj commented Apr 4, 2018

No immediate plans. It would be pretty straightforward to go back to Mandelshtam's original papers and implement a pure-Julia version, since Julia has all of the linear-algebra stuff built-in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants