- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am trying to compile a group of .f90 file with make.bat. I have added the paths for make and the compiler in the Environment Variables. The following error comes up, it seems that the compiler does not work correctly. Do you have any solution?
Setting up compiler environment
Intel(R) MPI Library 2019 Update 4 for Windows* Target Build Environment for Intel(R) 64 applications
Copyright 2007-2019 Intel Corporation.
Copyright (C) 1985-2019 Intel Corporation. All rights reserved.
Intel(R) Compiler 19.0 Update 4 (package 245)
**********************************************************************
** Visual Studio 2017 Developer Command Prompt v15.9.14
** Copyright (c) 2017 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
Setting up MPI environment
Intel(R) MPI Library 2019 Update 4 for Windows* Target Build Environment for Intel(R) 64 applications
Copyright 2007-2019 Intel Corporation.
ifort -c /Qipo /O2 /I"C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2019.4.245\windows\mpi\intel64\bin\..\..\intel64\include" /traceback /wrap-margin- -fpp -DGITHASH_PP=\"unknownECHO is off.-unknown\" -DGITDATE_PP=\""unknown\"" -DBUILDDATE_PP=\""la 16.05.2020 16.18\"" -DCOMPVER_PP=\"unknown\" -DWITH_MKL /I"C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2019.4.245\windows\mkl"\include /Qopenmp ../../Source/func.f90
Intel(R) Visual Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 19.0.4.245 Build 20190417
Copyright (C) 1985-2019 Intel Corporation. All rights reserved.
ifort: command line warning #10161: unrecognized source type 'is'; object file assumed
ifort: command line warning #10161: unrecognized source type 'off.-unknown"'; object file assumed
../../Source\func.f90(3562): error #5120: Unterminated character constant
WRITE(LU,'(A,A)') ' Revision : ',TRIM("unknownECHO )
---------------------------------------------------^
../../Source\func.f90(3562): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: :: ) , :
WRITE(LU,'(A,A)') ' Revision : ',TRIM("unknownECHO )
-----------------------------------------------------------------^
compilation aborted for ../../Source/func.f90 (code 1)
make: *** [func.obj] Virhe 1
Press any key to continue . . .
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It appears your batch file is misconstructing quote/enquote pairs.
And in func.f90 the quoted text in TRIM is missing the enquote
Jim Dempsey
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page