Open mo-ca opened 7 years ago
Hi @mo-ca,
Did you solve this?
Cheers, Rod
Hi,No I didn't. Regards Von: Rod PerskyGesendet: Sonntag, 11. Juni 2017 14:03An: Everhusk/RGP-GenAntwort an: Everhusk/RGP-GenCc: mo-ca; MentionBetreff: Re: [Everhusk/RGP-Gen] Error with make (#9)Hi @mo-ca,
Did you solve this? Cheers, Rod
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/Everhusk/RGP-Gen","title":"Everhusk/RGP-Gen","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/Everhusk/RGP-Gen"}},"updates":{"snippets":[{"icon":"PERSON","message":"@Rod-Persky in #9: Hi @mo-ca,\r\n\r\nDid you solve this?\r\n\r\nCheers,\r\nRod"}],"action":{"name":"View Issue","url":"https://github.com/Everhusk/RGP-Gen/issues/9#issuecomment-307624923"}}}
The file that has caused this issue is one that is just copied. I am wondering:
1) did you use the latest version of REFPROP? 2) did you install mingw32 as per the readme? I would have expected a newer version of fortran to be used (not f95)
It would be good to solve this 👍
Cheers, Rod
Hi, thanks so far: 1) RefpropDLLVersionNumber = 9.1 2) Yes I did an install according to the readme. I'm not quite sure how to select it correctly. Regards Carsten
I've been having issues with recreating the windows environment! Am continuing to look into this. I would highly recommend seeing if you can generate the table on a linux machine - at this stage fortran is really poorly supported on windows.
Could you try again 👍 I just realised that error would have come from the initial config process. It might be fixed now.
Hi, sorry for the delay, but I was very occupied by work. Unfortunately I don't have Linux on my machine, so this option is non-existant for me. I fetched the update and re-did the process as described on your first page. Unfortunately, the error has been replaced by another:
seems to be related to refprop routines?!
do you have a file called commons.for (lower case) in the program files folder? (C:\Program Files (x86)\REFPROP\fortran\commons.for)
I do ... thats why I copied it to the RPG-Gen-Making-Folder
Not actually closed (whoops!) please update to the latest code... or just copy the new cmakelists file. It should ignore the uncapitalised version and you also have the option to set USE_INSTALLED_REFPROP to false and it will use the fortran/ and fluid/ folders
@mo-ca can you update it once again as I've updated to specify the exact files required 👍
@Rod-Persky: sorry to say but now the copying only copies the fluids folder and omits the rest `The Fortran compiler identification is GNU 5.3.0 Check for working Fortran compiler: C:/MinGW/bin/gfortran.exe Check for working Fortran compiler: C:/MinGW/bin/gfortran.exe -- works Detecting Fortran compiler ABI info Detecting Fortran compiler ABI info - done Checking whether C:/MinGW/bin/gfortran.exe supports Fortran 90 Checking whether C:/MinGW/bin/gfortran.exe supports Fortran 90 -- yes REFPROP Path: C:/Users/MRMoeR114-admin/Documents/GitHub/RGP-Gen REFPROP Path: Using REFPROP in source directory REFPROP: REFPROP fluids found at C:/Users/MRMoeR114-admin/Documents/GitHub/RGP-Gen, copying fluid files REFPROP: Fluid files copied Configuring done CMake Error at CMakeLists.txt:78 (add_library): Cannot find source file:
C:/Users/MRMoeR114-admin/Documents/GitHub/RGP-Gen/fortran/CMNS.FOR
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
Generating done`
Hi @mo-ca, because you set you set USE_INSTALLED_REFPROP to off you'll need to copy the fortran files to the fortran folder.
the file cmns.for doesn't exist in either the original refprop path nor the path of your branch? and I copied the file accordingly.
Update: if I uncomment
"${REFPROP_BASE_PATH}/fortran/CMNS.FOR"
in your makefile, it completes the generation and compilation. Furthermore it leaves me with a RGPTableGen.exe that seems to run.
New questions arise:
@Rod-Persky @Everhusk @mo-ca Hi! thanks for the way you innovated,and shared that; all the tasks you've told in how to build done, and now,what is the result(s)?and how can I use them?? How can be sure that all the process done correctly?
Hi, I'm trying to compile it on Windows 7 and are stuck with
[ 87%] Building Fortran object CMakeFiles/REFPROPObjects.dir/fortran/commons.for.obj f951.exe: Warning: -fpic ignored for target (all code is position independent) f951.exe: Error: Unexpected end of file in 'C:\Users\MRMoeR114-admin\Downloads\RGP-Gen-master\RGP-Gen-master\fortran\commons.for' CMakeFiles\REFPROPObjects.dir\build.make:712: recipe for target 'CMakeFiles/REFPROPObjects.dir/fortran/commons.for.obj' failed mingw32-make[2]: *** [CMakeFiles/REFPROPObjects.dir/fortran/commons.for.obj] Error 1 CMakeFiles\Makefile2:66: recipe for target 'CMakeFiles/REFPROPObjects.dir/all' failed mingw32-make[1]: *** [CMakeFiles/REFPROPObjects.dir/all] Error 2 Makefile:82: recipe for target 'all' failed mingw32-make: *** [all] Error 2
What can I do?
Regards, Carsten Makefile.txt