-
Notifications
You must be signed in to change notification settings - Fork 9
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
Build and run the codes #37
Comments
I figured out this problem. Ref: https://amrex-codes.github.io/amrex/docs_html/BuildingAMReX.html |
I try the example "FerroX/Exec/Examples/inputs_mfim_Noeb_TimeDependent". It can't finish the calculation, it stops at time step 152. Can you verify the input file? |
Hi @spaceZt3, Thanks for your interest in using FerroX! I am glad that you figured out the way to build the code. Thanks for testing the example input script. You are right, the simulation indeed stops at time step 152. We made some changes in the code recently, but did not update all the input files accordingly. You can add the following lines to
This will simulate the MFIM stack with an applied voltage (V_app) sweep beginning at Please let me know if this resolves your problem or if you encounter any other issues. We will be happy to discuss your specific simulation needs as well. Cheers! |
Thanks @prkkumar ! I have a question about the # ELECTRICAL BOUNDARY CONDITIONS # definition in input file. What's the difference between:
The applied voltage (V_app) sweep beginning at V_app = -5.0 V and will stop at V_app = 5.0 V with an increment of 1.0 V. But it doesn't turn back (from 5V to -5V)? |
Hello, I am trying to run FerroX and thanks to this discussion managed to build and install AMReX, however, when I try to build FerroX using Cmake I get the following error: CMake Error at CMakeLists.txt:14 (setup_tutorial): I am unsure of how to solve this, commenting setup_tutorial seems to be the wrong step since I do not see an executable so I assume setup_tutorial is a macro which adds an executable ? Furthermore, I am not entirely sure why set(_sources main.cpp myfunc.H) has myfunc.H which does not seem to be in the directory? These are the full list of commands I ran: INSTALL AMREX (inside FerroX folder): BUILD FERROX (inside FerroX folder): I understand this may be a trivial problem, but I would really appreciate some help! |
Go to the Exec folder under FerroX. Edit the GNUmakefile. And then "make" to compile. |
Correct - cmake does not presently work, just use "make" - let me know if you have any problems. |
Hello, When plotting the generated datasets available on zenodo, I notice the properties are different from those in inputs_mfis_eb so I am not really sure how to recreate the figures. Thank you! |
To run You should get a pretty similar result as Fig 3a, with Alternatively, you can try modifying
|
Thank you so much it worked! |
Recently, I came across this interesting aper https://arxiv.org/abs/2402.05331. I have a few technical questions.
Thanks for your time! |
Thanks for checking out the paper!
|
I tried to compile the nodal_Poisson branch of FerroX with GPU enabled. But I got some AMReX-related error messages. The development branch of https://github.com/AMReX-Codes/amrex.git was used. Is it the correct repo/branch? See here for the full output. ../Source/Solver/ElectrostaticSolver.cpp(75): error: calling a host function("amrx::Print& amrex::Print::operator <<<char [2]> (const T1 &)") from a device function("ComputePoissonRHS( ::amrex::MultiFab &, ::std::array< ::amrex::MultiFab, (unsigned long)3ul> &, ::amrex::MultiFab &, ::amrex::MultiFab &, ::amrex::MultiFab &, ::amrex::MultiFab &, ::amrex::MultiFab &, const ::amrex::Geometry &)::[lambda(int, int, int) (instance 1)]::operator () const") is not allowed |
Dear @prkkumar @jackieyao0114 , how to build and run the codes FerroX?
The text was updated successfully, but these errors were encountered: