MFC
Exascale flow solver
Loading...
Searching...
No Matches
m_compile_specific Module Reference

Platform-specific file and directory operations: create, delete, inquire, getcwd, and basename. More...

Functions/Subroutines

impure subroutine s_create_directory (dir_name)
 Create a directory and all its parents if it does not exist.
impure subroutine s_delete_file (filepath)
 Delete a file at the given path using a platform-specific system command.
impure subroutine s_delete_directory (dir_name)
 Recursively delete a directory using a platform-specific system command.
impure subroutine my_inquire (fileloc, dircheck)
 Inquires on the existence of a directory.
impure subroutine s_get_cwd (cwd)
 Retrieve the current working directory path via the GETCWD intrinsic.
impure subroutine s_get_basename (dirpath, basename)
 Extract the base filename from a directory path using the system basename command.

Detailed Description

Platform-specific file and directory operations: create, delete, inquire, getcwd, and basename.

Function/Subroutine Documentation

◆ my_inquire()

impure subroutine m_compile_specific::my_inquire ( character(len=*), intent(in) fileloc,
logical, intent(inout) dircheck )

Inquires on the existence of a directory.

Parameters
dircheckSwitch that indicates if directory exists

Definition at line 56 of file m_compile_specific.f90.

Here is the caller graph for this function:

◆ s_create_directory()

impure subroutine m_compile_specific::s_create_directory ( character(len=*), intent(in) dir_name)

Create a directory and all its parents if it does not exist.

Definition at line 16 of file m_compile_specific.f90.

Here is the caller graph for this function:

◆ s_delete_directory()

impure subroutine m_compile_specific::s_delete_directory ( character(len=*), intent(in) dir_name)

Recursively delete a directory using a platform-specific system command.

Definition at line 42 of file m_compile_specific.f90.

Here is the caller graph for this function:

◆ s_delete_file()

impure subroutine m_compile_specific::s_delete_file ( character(len=*), intent(in) filepath)

Delete a file at the given path using a platform-specific system command.

Definition at line 29 of file m_compile_specific.f90.

Here is the caller graph for this function:

◆ s_get_basename()

impure subroutine m_compile_specific::s_get_basename ( character(len=*), intent(in) dirpath,
character(len=*), intent(out) basename )

Extract the base filename from a directory path using the system basename command.

Definition at line 79 of file m_compile_specific.f90.

Here is the call graph for this function:

◆ s_get_cwd()

impure subroutine m_compile_specific::s_get_cwd ( character(len=*), intent(out) cwd)

Retrieve the current working directory path via the GETCWD intrinsic.

Definition at line 70 of file m_compile_specific.f90.