-
Notifications
You must be signed in to change notification settings - Fork 4
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
General requirements #2
Comments
Output:
time (second)
Input:
I am adding some comments which were discussed but not listed above:
|
Overleaf document for the manual: |
Some tasks:
|
Hi Rene, at FDPS_SPH However, for Tyler, the default compiler is Clang (which I also encountered the same issue) (base) vpn13-103:build Tyler-EES$ cmake -DCMAKE_CXX_COMPILER=g++ .. “/opt/local/bin/g++-mp-8” is not able to compile a simple test program. It fails with the following output: Change Dir: /Users/Tyler-EES/Documents/GitHub/FDPS_SPH/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_7effc/fast CMake will not be able to correctly generate this project. -- Configuring incomplete, errors occurred! When he tried to compile with g++-mp-8, he gets -- The C compiler identification is unknown |
Hi Miki, I found a blog post that discusses using OpenMP on Mac, maybe this is of some help: https://iscinumpy.gitlab.io/post/omp-on-high-sierra/ |
Yes, the simple make file using g++-mp-8 as a compile worked for Tyler too |
I think its problematic that some FDPS versions are not compatible with the current SPH code. I thought we could upload a compatible FDPS version on git when we release FDPS-SPH. Is there any better way to do this? |
I'm not sure what exactly fixed it, but something Miki or I changed fixed CMake on my end. |
@mnakajima7: There is a better way. We can specify certain version of FDPS as safe and automatically install one of them. That way we do not need to duplicate the files into this repo. Do you have a working version, and can you let me know which git commit hash that has? (you can find out by |
@TylerLaBree: That is good to hear. Maybe you installed a compiler with OpenMp support? |
@gassmoeller That's a great idea! Currently I am using 5.0c FDPS |
@mnakajima7 |
@gassmoeller @NatsukiHosono Would you recommend I amend this to include the option to specify input file, in addition to output directory location? This would allow us to easily run multiple simulations at once from different input files, and with different output directories. If so, do you have any advice on best practice for this, so I don't break old functionality? |
@TylerLaBree |
Yes I think it would be great to have more flexibility in selecting input files. As an example in ASPECT we handle command-line arguments the following way:
Something similar would be reasonable I think. @NatsukiHosono how attached are you to the current functionality that a single argument is always interpreted as the timestep for a restart? Would it be ok to make that an option, e.g. instead of |
@gassmoeller, This sounds like a great idea! I think I've got a decent version of this running now. So far, the user can specify an input file with @NatsukiHosono, Which would you prefer between those options? Would you like the user to specify resuming/restarting a sim from a specified time-step using the terminal, or from the input file specified? Thanks! |
@gassmoeller @TylerLaBree Well, I think it would be better to specify the resuming timestep from the command line options, e.g., Actually, there was a reason why I adopt such a simple way to resume a run. |
Sounds good @NatsukiHosono ! Another question: I'm looking into adding an option for velocity damping, so we can allow the target and impactor to individually come into equilibrium before we simulate a collision. How would you recommend doing this in the correct way? I'm trying to familiarize myself with the force calculation that happens every step, but it's complex and I'm not sure which thing I should edit. |
@TylerLaBree In my way, we should write a subroutine to implement non-interparticle forces. |
There will be more specific comments later on, but these are the big items I can think of right now, that would need to be addressed before a possible submission to CIG:
The text was updated successfully, but these errors were encountered: