./Manager/libld/f/tests/tstLibraryBuilder.f90
3 #include "ScaleSTL/FortranTestMacros.h"
11 use origen_testpaths_m
12 use iso_fortran_env
, only: error_unit, output_unit
14 use nemesis_comm
, only: build_types, initialize, finalize, node
20 type(origen_library) :: lib,lib2
21 type(origen_libraryheader) :: lh
22 type(origen_nuclideset) :: nucset
23 type(datacontainer) :: options
30 if(node() /= 0 )
call finalize
32 call options % initialize()
33 call io % initialize()
34 call lib % initialize()
35 loaded = io % load(lib,trim(decaylib_filepath),options)
36 write(error_unit,*)
'loaded=',loaded
37 if( .not. loaded )stop 1
40 call lib % getptr_definition(lh)
41 call lh % getptr_nuclide_set(nucset)
43 write(error_unit,*)
'extracted the library'
47 call bld % initialize()
55 call options % destroy()