Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
try to find a portable way to print off_t
authorAugustin Degomme <adegomme@users.noreply.github.com>
Mon, 18 Jun 2018 18:46:57 +0000 (20:46 +0200)
committerAugustin Degomme <adegomme@users.noreply.github.com>
Mon, 18 Jun 2018 18:46:57 +0000 (20:46 +0200)
src/smpi/internals/smpi_global.cpp

index 0c709b1..fa3c3c9 100644 (file)
@@ -597,7 +597,7 @@ int smpi_main(const char* executable, int argc, char *argv[])
               pad=libname.length();
             target_lib = std::string(pad - std::to_string(rank).length(), '0')
                         +std::to_string(rank)+libname.substr(pad);
-            XBT_DEBUG("copy lib %s to %s, with size %ld", libpath.c_str(), target_lib.c_str(), fdin_size2);
+            XBT_DEBUG("copy lib %s to %s, with size %lld", libpath.c_str(), target_lib.c_str(), (long long)fdin_size2);
             smpi_copy_file(libpath, target_lib, fdin_size2, rank);
 
             std::string sedcommand = "sed -i -e 's/"+libname+"/"+target_lib+"/g' "+target_executable;