iterative-solver 0.0
temp_file.h
1#ifndef LINEARALGEBRA_SRC_MOLPRO_LINALG_ARRAY_UTIL_TEMP_FILE_H
2#define LINEARALGEBRA_SRC_MOLPRO_LINALG_ARRAY_UTIL_TEMP_FILE_H
3#include <string>
4#ifdef HAVE_MPI_H
5#include <mpi.h>
6#endif
7#include "fs.h"
8
10#ifdef HAVE_MPI_H
17fs::path temp_file_name(const fs::path &base_name, const std::string &suffix, MPI_Comm comm);
18#endif
24fs::path temp_file_name(const fs::path &base_name, const std::string &suffix);
25
26} // namespace molpro::linalg::array::util
27
28#endif // LINEARALGEBRA_SRC_MOLPRO_LINALG_ARRAY_UTIL_TEMP_FILE_H
Definition: ArrayHandler.h:23
fs::path temp_file_name(const fs::path &base_name, const std::string &suffix)
Returns random file name for a temporary file.
Definition: temp_file.cpp:32