Opened 17 years ago
Closed 17 years ago
#176 closed bug (Fixed)
using full compiler path
Reported by: | jcwarner | Owned by: | arango |
---|---|---|---|
Priority: | major | Milestone: | Release ROMS/TOMS 3.2 |
Component: | Nonlinear | Version: | 3.2 |
Keywords: | Cc: |
Description
the src ticket #169 which added the full compiler path does not work correctly for CYGWIN (imagine that). The full path for my ifort compiler is
/cygdrive/c/Program Files/Intel/Compiler/Fortran/9.0/IA32/Bin/ifort.exe
But there is a space between the words "Progam" and "Files". (Why did they do that!) So when the full path is used to specify the compiler command, that space causes a problem and i get /bin/sh: /cygdrive/c/Program: No such file or directory.
Change History (2)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
Resolution: | → Fixed |
---|---|
Status: | new → closed |
Thanks Mark for your suggestion. John found that a variant worked:
FC := "$(shell which ${FC})"
I also loaded the correct tl_ini_adjust.F to the src and cstm repositories. I loaded the wrong file in src:ticket:172.
There are 2 solutions to this problem
EITHER
John, run the following command under the Cygwin shell:
Then your full compiler path will appear as
OR
In the ROMS platform-specific make files, change this line
so that the command name is surrounded by quotation marks. I think this might do it
Given that the ROMS build system is designed for Unix systems, where the use of spaces in directory names is very unusual and guaranteed to break things, I think the former solution is the better one.
Mark