Commit 1d2df55 1 parent d9765d5 commit 1d2df55 Copy full SHA for 1d2df55
File tree 2 files changed +8
-6
lines changed
scripts/recreation_server
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 8
8
format = '%(asctime)s %(name)-20s %(levelname)-8s %(message)s' ,
9
9
level = logging .DEBUG , datefmt = '%m/%d/%Y %H:%M:%S ' )
10
10
11
- cache_workspace = '/home/dmf/projects/recreation/'
11
+ # a writeable dir, not the read-only mounted volume
12
+ cache_workspace = '/home/davemfish/twitter/server/'
13
+ mounted_volume = os .path .join (cache_workspace , 'cache' )
12
14
args = {
13
- 'hostname' : '127.0 .0.1 ' , # the local IP for the server
15
+ 'hostname' : '10.240 .0.6 ' , # the local IP for the server
14
16
'port' : 54322 ,
15
17
'max_year' : 2021 ,
16
18
'min_year' : 2017 ,
17
19
'cache_workspace' : cache_workspace ,
18
20
'quadtree_pickle_filename' : os .path .join (
19
- cache_workspace , 'gcs/twitter_quadtree/ global_twitter_qt.pickle' )
21
+ mounted_volume , 'global_twitter_qt.pickle' )
20
22
}
21
23
22
24
if __name__ == '__main__' :
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- source /home/davemfish/miniconda3/etc/profile.d/conda.sh
3
- conda activate . /invest/env/
4
- nohup python -u execute_recmodel_server .py > nohup_recmodel_server .txt 2>&1 &
2
+ # source /home/davemfish/miniconda3/etc/profile.d/conda.sh
3
+ # mamba activate /home/davemfish/twitter /invest/env/
4
+ nohup python -u execute_recmodel_server_twitter .py > /home/davemfish/twitter/recmodel_server_log .txt 2>&1 &
You can’t perform that action at this time.
0 commit comments