Thanks to visit codestin.com
Credit goes to github.com

Skip to content

run test logs do not capture error, only std out #327

@hkershaw-brown

Description

@hkershaw-brown

The developer_test for the location_mod have std err to the screen and only std out to the log files. I've not had a look at the other "developer_tests", but having a quick look there is mostly > and >>.

Running threed_cartesian just for brevity here;
./run_tests.csh vs. cat buildlog.threed_cartesian.out

hkershaw@cheyenne4:/glade/scratch/hkershaw/DART/pull_requests/pull_285/developer_tests/location(updt_bcs)$ ./run_tests.csh

==================================================================
Start of location module tests at Mon Feb 7 10:46:11 MST 2022
==================================================================


build and run logs are in: /glade/scratch/hkershaw/DART/pull_requests/pull_285/developer_tests/location/testing_logs


------------------------------------------------------------------
Starting tests of location module threed_cartesian at Mon Feb 7 10:46:11 MST 2022
------------------------------------------------------------------


.............../../../../assimilation_code/location/threed_cartesian/location_mod.f90(19): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [OBS_KIND_MOD]
use         obs_kind_mod, only : get_num_types_of_obs, get_name_for_type_of_obs, get_index_for_type_of_obs
------------^
../../../../assimilation_code/location/threed_cartesian/location_mod.f90(19): error #6580: Name in only-list does not exist or is not accessible.   [GET_NUM_TYPES_OF_OBS]
use         obs_kind_mod, only : get_num_types_of_obs, get_name_for_type_of_obs, get_index_for_type_of_obs
---------------------------------^
../../../../assimilation_code/location/threed_cartesian/location_mod.f90(19): error #6580: Name in only-list does not exist or is not accessible.   [GET_NAME_FOR_TYPE_OF_OBS]
use         obs_kind_mod, only : get_num_types_of_obs, get_name_for_type_of_obs, get_index_for_type_of_obs
-------------------------------------------------------^
../../../../assimilation_code/location/threed_cartesian/location_mod.f90(19): error #6580: Name in only-list does not exist or is not accessible.   [GET_INDEX_FOR_TYPE_OF_OBS]
use         obs_kind_mod, only : get_num_types_of_obs, get_name_for_type_of_obs, get_index_for_type_of_obs
---------------------------------------------------------------------------------^
../../../../assimilation_code/location/threed_cartesian/location_mod.f90(895): error #6404: This name does not have a type, and must have an explicit type.   [GET_NUM_TYPES_OF_OBS]
typecount = get_num_types_of_obs()
------------^
compilation aborted for ../../../../assimilation_code/location/threed_cartesian/location_mod.f90 (code 1)
make: *** [location_mod.o] Error 1


ERROR - unsuccessful build of location module threed_cartesian at Mon Feb 7 10:46:12 MST 2022


==================================================================
End of location module tests at Mon Feb 7 10:46:12 MST 2022
==================================================================

hkershaw@cheyenne4:/glade/scratch/hkershaw/DART/pull_requests/pull_285/developer_tests/location(updt_bcs)$ cat /glade/scratch/hkershaw/DART/pull_requests/pull_285/developer_tests/location/testing_logs/buildlog.threed_cartesian.out

 Makefile is ready.
ifort -O -assume buffered_io -fp-model precise -I/glade/u/apps/ch/opt/netcdf/4.8.1/intel/19.1.1//include  -c	../../../../assimilation_code/location/threed_cartesian/location_mod.f90
Makefile:24: recipe for target 'location_mod.o' failed

I'm not sure how much to care about this, but new tests should capture std err in the logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingback burnervery low priority. Future work?build-systemissues related to building dart

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions