Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F120643675
setdir.c
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Jul 5, 21:41
Size
592 B
Mime Type
text/x-c
Expires
Mon, Jul 7, 21:41 (2 d)
Engine
blob
Format
Raw Data
Handle
27214668
Attached To
R2795 mitgcm_lac_leman_abirani
setdir.c
View Options
/*
* $Header: /u/gcmpack/MITgcm/eesupp/src/setdir.c,v 1.1 2013/10/25 17:29:58 jmc Exp $
* $Name: $
*/
#include <stdlib.h>
#include <unistd.h>
/* Here, we get the definition of the FC_NAMEMANGLE() macro. */
#include "FC_NAMEMANGLE.h"
void FC_NAMEMANGLE(setdir) (int *myPEListId )
{
char RUN_DIR[1024];
char *rundirsetting;
char *SROOT;
char *SPREF;
char *scycle;
char *endPtr;
char SROOT_BUFFER[1024];
int rc;
int sDirNum;
int sDirCycle;
sprintf(RUN_DIR,"rank_%d",*myPEListId);
rc = chdir(RUN_DIR);
/* perror(strerror(rc));
exit(-1); */
}
Event Timeline
Log In to Comment