- 积分
- 83
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2014-12-10
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
WRF前面装的都成功了,/arch下面的Config.pl和/src里面的makefile 都修改了,netcdf装的是V4.0.1,ARWpost是V3.1ARWpost始终装不成功,求各位大神不吝赐教,感激不尽。
编译过程:
[root@localhost ARWpost]# ./configure
Will use NETCDF in dir: /usr/local/netcdf
------------------------------------------------------------------------
Please select from among the following supported platforms.
1. PC Linux i486 i586 i686 x86_64, PGI compiler
2. PC Linux i486 i586 i686 x86_64, Intel compiler
3. PC Linux i486 i586 i686 x86_64, gfortran compiler
Enter selection [1-3] : 3
------------------------------------------------------------------------
Configuration successful. To build the ARWpost, type: compile
------------------------------------------------------------------------
[root@localhost ARWpost]# ./compile
**** Compiling ARWpost ****
/bin/rm -f module_get_file_names.o module_get_file_names.mod
/lib/cpp -C -P -traditional -DIO_NETCDF -DIO_GRIB1 -DIO_BINARY -DRECL4 -Dbytesw module_get_file_names.F90 > module_get_file_names.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4 -I/usr/local/netcdf/include -c module_get_file_names.f
module_get_file_names.f:1.1:
/* Copyright (C) 1991-2013 Free Software Foundation, Inc.
1
Error: Invalid character in name at (1)
module_get_file_names.f:2.3:
This file is part of the GNU C Library.
1
Error: Unclassifiable statement at (1)
module_get_file_names.f:4.3:
The GNU C Library is free software; you can redistribute it and/or
1
Error: Unclassifiable statement at (1)
module_get_file_names.f:4.39:
The GNU C Library is free software; you can redistribute it and/or
1
Error: Unclassifiable statement at (1)
module_get_file_names.f:5.3:
modify it under the terms of the GNU Lesser General Public
1
Error: Unclassifiable statement at (1)
module_get_file_names.f:6.3:
License as published by the Free Software Foundation; either
1
Error: Unclassifiable statement at (1)
module_get_file_names.f:6.57:
License as published by the Free Software Foundation; either
1
Error: Unclassifiable statement at (1)
module_get_file_names.f:7.3:
version 2.1 of the License, or (at your option) any later version.
1
Error: Unclassifiable statement at (1)
module_get_file_names.f:9.3:
The GNU C Library is distributed in the hope that it will be useful,
1
Error: Unclassifiable statement at (1)
module_get_file_names.f:10.3:
but WITHOUT ANY WARRANTY; without even the implied warranty of
1
Error: Unclassifiable statement at (1)
module_get_file_names.f:10.29:
but WITHOUT ANY WARRANTY; without even the implied warranty of
1
Error: Unclassifiable statement at (1)
module_get_file_names.f:11.3:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1
Error: Unclassifiable statement at (1)
module_get_file_names.f:12.3:
Lesser General Public License for more details.
1
Error: Unclassifiable statement at (1)
module_get_file_names.f:14.3:
You should have received a copy of the GNU Lesser General Public
1
Error: Unclassifiable statement at (1)
module_get_file_names.f:15.3:
License along with the GNU C Library; if not, see
1
Error: Unclassifiable statement at (1)
module_get_file_names.f:15.41:
License along with the GNU C Library; if not, see
1
Error: Unclassifiable statement at (1)
module_get_file_names.f:16.4:
<http://www.gnu.org/licenses/>. */
1
Error: Invalid character in name at (1)
module_get_file_names.f:19.1:
/* This header is separate from features.h so that the compiler can
1
Error: Invalid character in name at (1)
module_get_file_names.f:20.3:
include it implicitly at the start of every compilation. It must
1
Error: Unclassifiable statement at (1)
module_get_file_names.f:21.3:
not itself include <features.h> or any other header that includes
1
Error: Unclassifiable statement at (1)
module_get_file_names.f:22.4:
<features.h> because the implicit include comes before any feature
1
Error: Invalid character in name at (1)
module_get_file_names.f:23.3:
test macros that may be defined in a source file before it first
1
Error: Unclassifiable statement at (1)
module_get_file_names.f:24.3:
explicitly includes a system header. GCC knows the name of this
1
Error: Unclassifiable statement at (1)
module_get_file_names.f:25.3:
header in order to preinclude it. */
1
Error: Unclassifiable statement at (1)
module_get_file_names.f:27.1:
/* We do support the IEC 559 math functionality, real and complex. */
1
Error: Invalid character in name at (1)
Fatal Error: Error count reached limit of 25.
make: [module_get_file_names.o] Error 1 (ignored)
/bin/rm -f module_get_file_names.f
/bin/rm -f gridinfo_module.o gridinfo_module.mod
/bin/cp gridinfo_module.f90 gridinfo_module.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4 -I/usr/local/netcdf/include -c gridinfo_module.f
gridinfo_module.f:12.7:
USE module_get_file_names
1
Fatal Error: Can't open module file 'module_get_file_names.mod' for reading at (1): No such file or directory
make: [gridinfo_module.o] Error 1 (ignored)
/bin/rm -f gridinfo_module.f
/bin/rm -f input_module.o input_module.mod
/bin/cp input_module.f90 input_module.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4 -I/usr/local/netcdf/include -c input_module.f
input_module.f:3.7:
USE gridinfo_module
1
Fatal Error: Can't open module file 'gridinfo_module.mod' for reading at (1): No such file or directory
make: [input_module.o] Error 1 (ignored)
/bin/rm -f input_module.f
/bin/rm -f module_arrays.o module_arrays.mod
/bin/cp module_arrays.f90 module_arrays.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4 -I/usr/local/netcdf/include -c module_arrays.f
module_arrays.f:75.6:
USE gridinfo_module
1
Fatal Error: Can't open module file 'gridinfo_module.mod' for reading at (1): No such file or directory
make: [module_arrays.o] Error 1 (ignored)
/bin/rm -f module_arrays.f
/bin/rm -f module_interp.o module_interp.mod
/bin/cp module_interp.f90 module_interp.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4 -I/usr/local/netcdf/include -c module_interp.f
module_interp.f:3.7:
USE input_module
1
Fatal Error: Can't open module file 'input_module.mod' for reading at (1): No such file or directory
make: [module_interp.o] Error 1 (ignored)
/bin/rm -f module_interp.f
/bin/rm -f output_module.o output_module.mod
/lib/cpp -C -P -traditional -DIO_NETCDF -DIO_GRIB1 -DIO_BINARY -DRECL4 -Dbytesw output_module.F90 > output_module.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4 -I/usr/local/netcdf/include -c output_module.f
output_module.f:1.1:
/* Copyright (C) 1991-2013 Free Software Foundation, Inc.
1
Error: Invalid character in name at (1)
output_module.f:2.3:
This file is part of the GNU C Library.
1
Error: Unclassifiable statement at (1)
output_module.f:4.3:
The GNU C Library is free software; you can redistribute it and/or
1
Error: Unclassifiable statement at (1)
output_module.f:4.39:
The GNU C Library is free software; you can redistribute it and/or
1
Error: Unclassifiable statement at (1)
output_module.f:5.3:
modify it under the terms of the GNU Lesser General Public
1
Error: Unclassifiable statement at (1)
output_module.f:6.3:
License as published by the Free Software Foundation; either
1
Error: Unclassifiable statement at (1)
output_module.f:6.57:
License as published by the Free Software Foundation; either
1
Error: Unclassifiable statement at (1)
output_module.f:7.3:
version 2.1 of the License, or (at your option) any later version.
1
Error: Unclassifiable statement at (1)
output_module.f:9.3:
The GNU C Library is distributed in the hope that it will be useful,
1
Error: Unclassifiable statement at (1)
output_module.f:10.3:
but WITHOUT ANY WARRANTY; without even the implied warranty of
1
Error: Unclassifiable statement at (1)
output_module.f:10.29:
but WITHOUT ANY WARRANTY; without even the implied warranty of
1
Error: Unclassifiable statement at (1)
output_module.f:11.3:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1
Error: Unclassifiable statement at (1)
output_module.f:12.3:
Lesser General Public License for more details.
1
Error: Unclassifiable statement at (1)
output_module.f:14.3:
You should have received a copy of the GNU Lesser General Public
1
Error: Unclassifiable statement at (1)
output_module.f:15.3:
License along with the GNU C Library; if not, see
1
Error: Unclassifiable statement at (1)
output_module.f:15.41:
License along with the GNU C Library; if not, see
1
Error: Unclassifiable statement at (1)
output_module.f:16.4:
<http://www.gnu.org/licenses/>. */
1
Error: Invalid character in name at (1)
output_module.f:19.1:
/* This header is separate from features.h so that the compiler can
1
Error: Invalid character in name at (1)
output_module.f:20.3:
include it implicitly at the start of every compilation. It must
1
Error: Unclassifiable statement at (1)
output_module.f:21.3:
not itself include <features.h> or any other header that includes
1
Error: Unclassifiable statement at (1)
output_module.f:22.4:
<features.h> because the implicit include comes before any feature
1
Error: Invalid character in name at (1)
output_module.f:23.3:
test macros that may be defined in a source file before it first
1
Error: Unclassifiable statement at (1)
output_module.f:24.3:
explicitly includes a system header. GCC knows the name of this
1
Error: Unclassifiable statement at (1)
output_module.f:25.3:
header in order to preinclude it. */
1
Error: Unclassifiable statement at (1)
output_module.f:27.1:
/* We do support the IEC 559 math functionality, real and complex. */
1
Error: Invalid character in name at (1)
Fatal Error: Error count reached limit of 25.
make: [output_module.o] Error 1 (ignored)
/bin/rm -f output_module.f
/bin/rm -f module_basic_arrays.o module_basic_arrays.mod
/bin/cp module_basic_arrays.f90 module_basic_arrays.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4 -I/usr/local/netcdf/include -c module_basic_arrays.f
module_basic_arrays.f:3.6:
USE gridinfo_module
1
Fatal Error: Can't open module file 'gridinfo_module.mod' for reading at (1): No such file or directory
make: [module_basic_arrays.o] Error 1 (ignored)
/bin/rm -f module_basic_arrays.f
/bin/rm -f module_diagnostics.o module_diagnostics.mod
/bin/cp module_diagnostics.f90 module_diagnostics.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4 -I/usr/local/netcdf/include -c module_diagnostics.f
module_diagnostics.f:6.6:
USE output_module
1
Fatal Error: Can't open module file 'output_module.mod' for reading at (1): No such file or directory
make: [module_diagnostics.o] Error 1 (ignored)
/bin/rm -f module_diagnostics.f
/bin/rm -f process_domain_module.o process_domain_module.mod
/lib/cpp -C -P -traditional -DIO_NETCDF -DIO_GRIB1 -DIO_BINARY -DRECL4 -Dbytesw process_domain_module.F90 > process_domain_module.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4 -I/usr/local/netcdf/include -c process_domain_module.f
process_domain_module.f:1.1:
/* Copyright (C) 1991-2013 Free Software Foundation, Inc.
1
Error: Invalid character in name at (1)
process_domain_module.f:2.3:
This file is part of the GNU C Library.
1
Error: Unclassifiable statement at (1)
process_domain_module.f:4.3:
The GNU C Library is free software; you can redistribute it and/or
1
Error: Unclassifiable statement at (1)
process_domain_module.f:4.39:
The GNU C Library is free software; you can redistribute it and/or
1
Error: Unclassifiable statement at (1)
process_domain_module.f:5.3:
modify it under the terms of the GNU Lesser General Public
1
Error: Unclassifiable statement at (1)
process_domain_module.f:6.3:
License as published by the Free Software Foundation; either
1
Error: Unclassifiable statement at (1)
process_domain_module.f:6.57:
License as published by the Free Software Foundation; either
1
Error: Unclassifiable statement at (1)
process_domain_module.f:7.3:
version 2.1 of the License, or (at your option) any later version.
1
Error: Unclassifiable statement at (1)
process_domain_module.f:9.3:
The GNU C Library is distributed in the hope that it will be useful,
1
Error: Unclassifiable statement at (1)
process_domain_module.f:10.3:
but WITHOUT ANY WARRANTY; without even the implied warranty of
1
Error: Unclassifiable statement at (1)
process_domain_module.f:10.29:
but WITHOUT ANY WARRANTY; without even the implied warranty of
1
Error: Unclassifiable statement at (1)
process_domain_module.f:11.3:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1
Error: Unclassifiable statement at (1)
process_domain_module.f:12.3:
Lesser General Public License for more details.
1
Error: Unclassifiable statement at (1)
process_domain_module.f:14.3:
You should have received a copy of the GNU Lesser General Public
1
Error: Unclassifiable statement at (1)
process_domain_module.f:15.3:
License along with the GNU C Library; if not, see
1
Error: Unclassifiable statement at (1)
process_domain_module.f:15.41:
License along with the GNU C Library; if not, see
1
Error: Unclassifiable statement at (1)
process_domain_module.f:16.4:
<http://www.gnu.org/licenses/>. */
1
Error: Invalid character in name at (1)
process_domain_module.f:19.1:
/* This header is separate from features.h so that the compiler can
1
Error: Invalid character in name at (1)
process_domain_module.f:20.3:
include it implicitly at the start of every compilation. It must
1
Error: Unclassifiable statement at (1)
process_domain_module.f:21.3:
not itself include <features.h> or any other header that includes
1
Error: Unclassifiable statement at (1)
process_domain_module.f:22.4:
<features.h> because the implicit include comes before any feature
1
Error: Invalid character in name at (1)
process_domain_module.f:23.3:
test macros that may be defined in a source file before it first
1
Error: Unclassifiable statement at (1)
process_domain_module.f:24.3:
explicitly includes a system header. GCC knows the name of this
1
Error: Unclassifiable statement at (1)
process_domain_module.f:25.3:
header in order to preinclude it. */
1
Error: Unclassifiable statement at (1)
process_domain_module.f:27.1:
/* We do support the IEC 559 math functionality, real and complex. */
1
Error: Invalid character in name at (1)
Fatal Error: Error count reached limit of 25.
make: [process_domain_module.o] Error 1 (ignored)
/bin/rm -f process_domain_module.f
/bin/rm -f ARWpost.o ARWpost.mod
/bin/cp ARWpost.f90 ARWpost.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4 -I/usr/local/netcdf/include -c ARWpost.f
ARWpost.f:9.7:
USE gridinfo_module
1
Fatal Error: Can't open module file 'gridinfo_module.mod' for reading at (1): No such file or directory
make: [ARWpost.o] Error 1 (ignored)
/bin/rm -f ARWpost.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4 -o ARWpost.exe module_model_basics.o constants_module.o gridinfo_module.o ARWpost.o input_module.o output_module.o module_map_utils.o misc_definitions_module.o module_date_pack.o module_debug.o process_domain_module.o module_get_file_names.o module_interp.o module_basic_arrays.o module_diagnostics.o module_arrays.o module_pressure.o module_calc_height.o module_calc_pressure.o module_calc_theta.o module_calc_tk.o module_calc_tc.o module_calc_td.o module_calc_td2.o module_calc_rh.o module_calc_rh2.o module_calc_uvmet.o module_calc_slp.o module_calc_dbz.o module_calc_cape.o module_calc_wdir.o module_calc_wspd.o module_calc_clfr.o \
-L/usr/local/netcdf/lib -I/usr/local/netcdf/include -lnetcdff -lnetcdf
gfortran: error: gridinfo_module.o: No such file or directory
gfortran: error: ARWpost.o: No such file or directory
gfortran: error: input_module.o: No such file or directory
gfortran: error: output_module.o: No such file or directory
gfortran: error: process_domain_module.o: No such file or directory
gfortran: error: module_get_file_names.o: No such file or directory
gfortran: error: module_interp.o: No such file or directory
gfortran: error: module_basic_arrays.o: No such file or directory
gfortran: error: module_diagnostics.o: No such file or directory
gfortran: error: module_arrays.o: No such file or directory
make: [ARWpost.exe] Error 1 (ignored)
|
|