[Darshan-users] Darshan installation question

Kevin Harms harms at alcf.anl.gov
Mon May 23 10:04:09 CDT 2011


Ketan,

  remove the "strip" command from the modftdock target, then you will still have symbols.

kevin

--- a/Makefile	2011-05-23 09:59:56.000000000 -0500
+++ b/Makefile	2011-05-23 10:02:34.000000000 -0500
@@ -59,7 +59,6 @@ all:		$(PROGRAMS)
 
 modftdock:	modftdock.o $(LIBRARY_OBJECTS) structures.h
 		$(CC) $(CC_FLAGS_FULL) -static -o $@ modftdock.o $(LIBRARY_OBJECTS) $(FFTW_LINKERS) $(CC_LINKERS)
-		$(STRIP) $@
 		$(SECURITY) $@
 
 #############


On May 21, 2011, at 9:03 PM, ketan wrote:

> When I do nm <myexe> I get the following:
> 
> [bridled.ci.uchicago.edu:progs]$ nm modftdock
> nm: modftdock: no symbols
> 
> Attaching the makefile that I used for compilation. That is where I use Darshan linked mpicc to compile my source.
> 
> Ketan
> 
> On 5/21/11 8:58 PM, Kevin Harms wrote:
>> Ketan,
>> 
>>   first thing, check that the library was linked in. Try nm exe | grep darshan and see if any darshan symbols are present. If they are, see if there is any output on standard error indicating the darshan log couldn't be opened.
>> 
>>   If darshan isn't being linked in, are you also trying to use Tau or have other libraries that might intercept MPI routines.
>> 
>> kevin
>> 
>> On May 19, 2011, at 6:43 PM, ketan wrote:
>> 
>>> Thanks Kevin for your help and support installing Darshan.
>>> 
>>> I now have Darshan installed and using its mpicc to make my application. However, I do not see anything gets touched in the designated Darshan logs when I really run the application.
>>> 
>>> Any ideas what to look for when debugging this.
>>> 
>>> Also, I do not know what should I send you guys so that you could possibly diagnose the issue.
>>> 
>>> Regards,
>>> Ketan
>>> 
>>> 
>>> On 5/18/11 11:41 AM, ketan wrote:
>>>> I have now installed MPI, however, the installation stops at:
>>>> 
>>>> configure: error: must provide --with-jobid-env=<name>  argument to configure.
>>>> 
>>>> From the INSTALL file, I see that if the above option is not provided Darshan uses the job-id.
>>>> 
>>>> Could you kindly indicate how to get past this. Is there a default value that I could provide here?
>>>> 
>>>> Ketan
>>>> 
>>>> On 5/17/11 10:11 AM, Kevin Harms wrote:
>>>>> Ketan,
>>>>> 
>>>>>   Darshan itself requires MPI. You could add MPI_Init(), MPI_Finalize() in your program main and that would be sufficient to get information about POSIX calls.
>>>>> 
>>>>> kevin
>>>>> 
>>>>> On May 17, 2011, at 10:08 AM, ketan wrote:
>>>>> 
>>>>>> Hello,
>>>>>> 
>>>>>> I am new to Darshan. Trying to install on ci login node with the following commandline from the INSTALL file:
>>>>>> 
>>>>>> ./configure --with-mem-align=64 --with-log-path=$LOGPATH --prefix=$PREFIX
>>>>>> 
>>>>>> However, I get the following:
>>>>>> 
>>>>>> configure: error: must provide --with-mpi=<path>   argument to configure if mpicc is not in path.
>>>>>> 
>>>>>> The install file does not seem to mention mpi is mandatory. Is it possible to avoid the above flag while installation as our requirement does not include mpi.
>>>>>> 
>>>>>> Thanks,
>>>>>> Ketan
>>>>>> 
>>>>>> _______________________________________________
>>>>>> Darshan-users mailing list
>>>>>> Darshan-users at lists.mcs.anl.gov
>>>>>> https://lists.mcs.anl.gov/mailman/listinfo/darshan-users
>>>> _______________________________________________
>>>> Darshan-users mailing list
>>>> Darshan-users at lists.mcs.anl.gov
>>>> https://lists.mcs.anl.gov/mailman/listinfo/darshan-users
>>> _______________________________________________
>>> Darshan-users mailing list
>>> Darshan-users at lists.mcs.anl.gov
>>> https://lists.mcs.anl.gov/mailman/listinfo/darshan-users
> <Makefile.txt>



More information about the Darshan-users mailing list