Project

General

Profile

Daqinterface for developers » History » Version 3

« Previous - Version 3/6 (diff) - Next » - Current version
Ron Rechenmacher, 02/01/2019 06:05 PM


Daqinterface for developers

Using direct mode for profiling

In rc/control/manage_processes_direct.py, around line 79, add

            launch_commands_to_run_on_host[ procinfo.host ].append("setup valgrind v3_13_0")
        launch_commands_to_run_on_host_background[ procinfo.host ].append( "valgrind --tool=callgrind %s -c \"id: %s commanderPluginType: xmlrpc rank: %s application_name: %s partition_number: %s\" & " % \
                                                                           (bootfile_name_to_execname(procinfo.name), procinfo.port, procinfo.rank, procinfo.label,
                                                                            os.environ["DAQINTERFACE_PARTITION_NUMBER"]))

Ensure that direct management is enabled: export DAQINTERFACE_PROCESS_MANAGEMENT_METHOD="direct"