-
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
Error in nmake file generation #6
Comments
Hi @Sanketh-R, LS-Dyna is very picky with respect to the Visual Studio and Intel Fortran Compiler versions, especially such older releases as R9. Look into the readme file that came with the object files (should be in the same folder as the nmake). In there you find the software requirements, which for R9 gathered some dust, for instance it might require VS10 and ifort13. Only with luck this is forward compatible. Best regards, |
For anyone facing the same problem, this is a fix?/workaround: Replace every occurance of C_TASKCOMMON(...) with c TASKCOMMON(...) then it will run fine, the error messages point you to the problem files and lines. I have done this with the latest Intel oneAPI HPC and visual studio 2022 as of today (09/02/2022). Cheers, Ryan |
Hello Ryan (@rm12554), Which version of Dyna did you use? I tried with R12.0.0, and this hack didn't help. I am pasting the error message below. Regards, Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Intel(R) Fortran Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.5.0 Build 20211109_000000 dyn21cnt.F(1071): error #5082: Syntax error, found IDENTIFIER 'C$OMPTHREADPRIVATE' when expecting one of: :: , * ; [ = / => |
Hi @jfriedlein
Thanks a lot for the repository and detailed explanation.
I requested and received the object version of the LS-Dyna version from the LS-DYNA distributor. When I try to execute the nmake.exe to test the setup and compiler (Intel oneAPI with visual studio 2019) I am getting the following error
C:\ls-dyna_smp_d_R910_winx64_ifort131_lib>nmake.exe
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
Intel(R) Fortran Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.1 Build 20201112_000000
Copyright (C) 1985-2020 Intel Corporation. All rights reserved.
dyn21.F(374): error #7614: A common block name may appear in an OpenMP THREADPRIVATE directive only after the last COMMON statement which specifies the same common block name. [AUX2LOC]
common/aux2loc/e1(nlq),e2(nlq),d3(nlq),e4(nlq),e5(nlq),e6(nlq),
-------------^
dyn21.F(376): error #7614: A common block name may appear in an OpenMP THREADPRIVATE directive only after the last COMMON statement which specifies the same common block name. [AUX8CLOC]
common /aux8cloc/
--------------^
C:\User\AppData\Local\Temp\1342013.i(2035): catastrophic error: Too many errors, exiting
compilation aborted for dyn21.F (code 1)
NMAKE : fatal error U1077: 'ifort' : return code '0x1'
Stop.
I am new to this and unable to generate the default ls_dyna.exe
Any insight or suggestion will be helpful.
Thanks in advance!
The text was updated successfully, but these errors were encountered: