<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hello,<br>
<br>
Thanks for pointing me in the right direction. All works fine now.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks and best,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Bertrand</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Hefty, Sean <sean.hefty@intel.com><br>
<b>Sent:</b> Tuesday, June 15, 2021 2:40 AM<br>
<b>To:</b> Tan Wei Ming, Bertrand <bertrandtwm@u.nus.edu>; libfabric-users@lists.openfabrics.org <libfabric-users@lists.openfabrics.org><br>
<b>Subject:</b> RE: How to enable FI_DBG printing</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">        - External Email -<br>
<br>
<br>
<br>
Set FI_LOG_LEVEL=debug<br>
<br>
or info, warn, etc.<br>
<br>
It's not obvious where to look for this, but see "LOGGING INTERFACE" section from the fabric.7 man page<br>
<br>
<a href="https://ofiwg.github.io/libfabric/v1.12.1/man/fabric.7.html">https://ofiwg.github.io/libfabric/v1.12.1/man/fabric.7.html</a><br>
<br>
<br>
> Hi,Libfabric gives users FI_DBG/FI_INFO/FI_TRACE/FI_WARN (based on fi_log, which is<br>
> defined in log.c) to print information. I try to enable it and check the debug<br>
> information when learning rxm provider, but nothing happens. Could you give me any<br>
> instructions how to enable it?Libfabric is cloned from the Libfabric’s latest master<br>
> branch. The build process is configured with ‘--enable-debug’ (../configure --enable-<br>
> debug --prefix=my_local_path)I have inserted a testing statement (FI_DBG(&rxm_prov,<br>
> FI_LOG_EP_CTRL, “FI_DBG-Testing: rxm_get_conn\n”);) in rxm_get_conn() in rxm_conn.c and<br>
> recompile the libfabric’s source code by ‘make; make install’.However, when running<br>
> fi_rdm_tagged_pingpong, I can’t see the testing message.<br>
> ---<br>
>   Server: fi_rdm_tagged_pingpong -p ofi_rxm -S 65536 -I 1 -s server_ip<br>
>   Client: fi_rdm_tagged_pingpong -p ofi_rxm -S 65536 -I 1 -s client_ip server_ip<br>
> Terminal output:<br>
>     bytes   iters   total       time     MB/sec    usec/xfer   Mxfers/sec<br>
>     64k     1       128k        0.00s     79.49     824.50       0.00<br>
> ---I have tested by inserting ‘print(...)’ directly in rxm_get_conn(). It actually<br>
> prints the messge.Thanks and best,<br>
> Bertrand<br>
</div>
</span></font></div>
</body>
</html>