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
openems: init at unstable-2020-02-15 #95196
Conversation
b622335
to
b4b3818
Compare
b4b3818
to
63bc6c4
Compare
@GrahamcOfBorg eval |
going to make sure arm build doesn't try to build |
63bc6c4
to
6ba2a60
Compare
I'm merging this into my own nixpkgs tree for get openems. Curious how come it didn't land upstream though? |
I tried installing openEMS via nixpkgs master and then accessing via Octave. I have errors though.
Then working around that with this definition:
I still had this error:
and indeed the nixpkgs derivation for hdf5 doesn't seem to install any include files. Any tips to get up and running with openEMS on NixOS? (I'm a beginner trying OpenEMS and Octave for the first time.) |
the source will probably need to be patched so that it cant find it. Or the include dir could just be symlinked in postInstall |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since this builds and prints usage, and likely works for some scenarios, I'm going to say it's in a semi-working state. Further development of other use cases can be done in another PR
https://github.com/NixOS/nixpkgs/pull/95196
1 package built:
openems
@jonringer thanks! @lukego thanks for identifying the hdf5 include dir issue. It's been a while since I've used the octave interface so this escaped my notice. As jonringer mentions, the fix should be straightforward. I can take a look at it, but no promises on time as I'm fairly busy at the moment. Feel free to take a look at it too. |
Thanks all! I'm currently taking a step back and reading about "what the heck is an FDTD solver anyway?" but assuming that I got forward with openEMS I can make that fix to hdf5. |
Cool. Yeah there's a bit of a learning curve but it definitely pays off in my opinion. Also worth mentioning that since you're new to octave if you'd prefer to use python I'll have the PRs for the python interface in soon (they're all written and that's what I use, but was just waiting on this PR to submit them). |
@matthuszagh Hey I'm interested in those openEMS python bindings for nixpkgs if you happen to have a preview handy! |
Motivation for this change
Next in this pr. @jonringer thanks!
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)