[CMake] CMAKE Fortran - error while coping modules

Volker Enderlein volker.enderlein at ifm-chemnitz.de
Thu Aug 24 10:47:50 EDT 2017


Hi Martin,

You can have a look into the makefiles CMake generates for you inside of 
your build directory.
Search for the failing file name there, e.g. do a  find . -name Makefile 
-exec grep -H 'm_material_mco_chg' {} \;
in the build directory.


Hope that helps, Cheers Volker

Am 24/08/2017 um 16:17 schrieb Martin.LARCHER at ec.europa.eu:
> Dear Volker,
> indeed the name of the file is replaced by "d". And I have no idea why. All the files before run smoothly. Is there any point where I can get n idea how the internal CMAKE commands are created?
> Martin
>
>
> --
> Dr.-Ing. Martin Larcher
> European Commission
> Joint Research Centre, T.P. 480
> Directorate for Space, Security and Migration
> Safety and Security of Buildings
> I-21027 Ispra (VA) Italy
> Phone: +39-0332-789563
>
> ________________________________________
> From: Volker Enderlein [volker.enderlein at ifm-chemnitz.de]
> Sent: 24 August 2017 14:26
> To: LARCHER Martin (JRC-ISPRA); cmake at cmake.org
> Subject: Re: [CMake] CMAKE Fortran - error while coping modules
>
> Am 24/08/2017 um 14:03 schrieb Volker Enderlein:
>> Am 24/08/2017 um 08:42 schrieb Martin.LARCHER at ec.europa.eu:
>>> */usr/bin/cmake -E cmake_copy_f90_mod source/d
>>> source/CMakeFiles/epx.dir/d.mod.stamp Intel Fortran Compiler*
>>> Error copying Fortran module "source/d". Tried "source/D.mod" and
>>> "source/d.mod".
>> what CMakeLists.txt does issue this line? Looks to me like a "*d
>> source/*" was creeping into the middle of the string. I didn't found
>> the command looking at the two files you provided. Especially the command
>>
>> */usr/bin/cmake -E cmake_copy_f90_mod*
>>
>> is of interest.
>>
>> Cheers Volker
>>
>>
> It rather seems that "m_material_mco_chg" is replaced wth a "d"
>
>
> Cheers Volker
>
> --
>



More information about the CMake mailing list