-
Notifications
You must be signed in to change notification settings - Fork 28
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
Compiling error due to preprocessor definition on Linux #5
Comments
Hi @Wabbaaa, Thank you a lot! You're welcome. In case, the problem is related to the toolbox, I would refer you to Andreas @adtzlr (https://github.com/adtzlr/ttb), he is the pro on this. I just initiated the extension to LS-Dyna (adtzlr/ttb#10), which introduced the "#define NOR4" line. Okay, enough background information. My best guess right now is that your compiler cannot handle compiler flags. I'm not into that at all, so I would propose the following bold workaround: Hopefully that already helps you, in case it does not, we just continue the troubleshooting. It would at least rule out a few things. Best regards, |
Hi @jfriedlein, Thanks a lot for your detailed reply, it's really appreciated. The Fortran version I use is Intel Fortran 16.0.8. I don't know why, I've reinstalled and setup everything from scratch and now it seems to work fine. I don't know what to say, I remember following the same steps from your guide. I'll try to follow your suggestions in case I incur in the same issue again, many thanks! Kind regards, |
Hi Raffaele @Wabbaaa, A pleasure. Good to hear that you solved the problem. It's also interesting to see that LS-Dyna compiles with Fortran 16. Typically the object versions are very picky with regard to the environment and compiler, but maybe that occurs mainly under Windows and concerning the older releases, I don't know. Best regards, |
Hello @jfriedlein ,
Thanks a lot for the repository, I am trying to make LS-Dyna work with an user-defined material without knowing much about fortran and programming in general, and this is helping me a lot!
I am trying to run your first example on Linux and I think there is an issue with the first two lines:
The object files I've downloaded contain all the files with extension ".f", not ".F", so the file to modify is named "dyn21umats.f". When I use "make" to compile, I get the following errors:
First thing I've tried is to change the extension to "dyn21umats.F". I've only changed the name of this file, not the others, is it correct?
I've also changed the makefile; the only thing I've changed is the extension of that single file from:
to:
But when I try to compile I get the following errors:
Can you help me?
Thanks in advance.
The text was updated successfully, but these errors were encountered: