ID |
Date |
Author |
Subject |
|
131
|
Fri Mar 19 17:39:47 2021 |
Alex M | New Run |
We began a new run using the same parameters as the previous one (see the last ELOG entry). The previous one ran for 8 generations. The difference between this run and the last one is that we have added in the polarity fix for AraSim Brian and Jorge gave us (copying the correct Report.cc and Report.h files into our AraSim version). Here are the run parameters:
Run Paramaters:
50 individuals
80/20 Roulette/Tournament
6% Reproduction, 72% Crossover, 22% Mutation
Run for 10 generations, then implement Jorge and Brian's fix for polarization in AraSim for the next run |
|
130
|
Mon Mar 15 13:05:22 2021 |
Alex M | Current Run |
We are currently running the loop using the improved parameters. The parameters are as follows:
50 individuals
80/20 Roulette/Tournament
6% Reproduction, 72% Crossover, 22% Mutation
Also note that individual 5 of generation 1 had its fitness score altered because one of its AraSim jobs didn't finish in time (and we would have had to wait 5 hours for it to rerun). To remedy this, I replaced the effective volume for the job with the average of the effective volumes from the other jobs for individual 5 (essentially meaning that it ran with 270k neutrinos instead of 300k). There is a .txt file in the directory titled Run_Notes.txt containing this message (and which will contain additional messages on similar things should they arise).
Run directory: /fs/project/PAS0654/BiconeEvolutionOSC/BiconeEvolution/current_antenna_evo_build/XF_Loop/Evolutionary_Loop/Run_Outputs/Improved_Parameter_Run_2021_03_09 |
|
129
|
Thu Mar 11 15:41:52 2021 |
Alex M | Running The Loop Updated |
Because of issues we were having with XF when running at the command line, we've shifted to running through a Pitzer VDI (see here: https://ondemand.osc.edu/pun/sys/dashboard/batch_connect/sys/bc_desktop/vdi/session_contexts/new).
The VDI will give you a mirror of a desktop running on OSC's side, so things like XF will run much faster. You can open a terminal by clicking the black box at the bottom of the screen and then run the loop like normal (./Asym_XF_Loop.sh). This has the added benefit of making it possible to exit out of your browser, close your laptop, or turn off your computer without interrupting the run, since the process is running on OSC's side rather than piping to your computer. |
|
128
|
Fri Jan 29 15:59:21 2021 |
Alex M | Loop Demonstration Video |
Here's the video I made a few months ago demonstrating how to run the loop. There might be some changes that have been made since then, but they'll generally be minor so it should still be representative of what running the loop looks like. It might need to be shared with you through the Microsoft drive service OSU gives us in order to view it, so either message me on Slack or email me at machtay.1@osu.edu and I'll share the link through there.
https://drive.google.com/file/d/1yL_eH_w2hXNt7J7YOwS5xl3ZHwGyl5JR/view |
|
127
|
Tue Jan 26 17:17:41 2021 |
Ethan Fahimi | Tuesday Updates 01/26/2021 |
| Ethan F |
Continued implementing some solutions the OSC helpdesk gave me for fixing the unwanted extensions on the job output files. |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
126
|
Tue Jan 19 19:00:30 2021 |
Alex M | Latest Run Details/Running on Slurm |
OSC managed to figure out our issue with running XF from an interactive job on Slurm. Previously, we were losing our connection to x11 forwarding. The solution is to use sinteractive instead of srun to obtain an interactive job. Here's the syntax:
sinteractive -A PAS0654 -t <time> -N 1 -n 8 -p serial
The -p serial flag denotes the type of partition to request. It's important to specify this, as otherwise it will default to the debug node, which has a limit of 1 hour.
We're going to begin a new run. The title is Machtay_2021_1_15_NPOP50_Asym . It is using the latest version of the GA Ryan has been working on (Latest_GA_Asym.cpp). We're using 6% reproduciton, 72% crossover, and 22% mutation. We are using 80% roulette selection. This correlates to the three numbers passed into the GA being 3 36 8 (since we're using 50 individuals). |
|
125
|
Fri Dec 11 17:47:48 2020 |
Ethan Fahimi | Friday Updates |
| Ethan F |
Fixed the issued AREA was having with finding test_{ind}.txt, now to fix problems with finding Veff and the project should be working. |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
124
|
Mon Dec 7 22:51:08 2020 |
Alex M | Important Runs |
Today I removed some of the run directories which had very little or no data or weren't worth keeping around. There are still a few that I think can be removed, but I'm keeping them until we can get a consensus that they can definitely be removed. Below I listed the names and descriptions of the runs that I think we should definitely preserve going forward. In general, the more data contained in the run directory, the more important it is to keep around.
| Name |
Description |
Symmetry |
NPOP |
Generations |
Roulette/Tourney |
Crossover |
Reproduction |
Mutation |
Penalty |
Neutrinos |
|
| Machtay_20200824_Real_Run |
First real run with significant amounts of data after the summer improvements.______________________________________
|
Symmetric |
10 |
15 |
100% Roulette |
100% |
0% |
100% |
Yes |
100k |
|
| Machtay_20200827_Asym_Length_Run |
First asymmetric length run after summer improvements. |
Asymmetric length |
10 |
17 |
100% Roulette |
100% |
0% |
100% |
Yes |
100k |
|
| Machtay_20200831_Asym_Length_and_Angle |
Asymmetric length and angle run after summer improvements. |
Asymmetric length and angle |
10 |
42 |
100% Roulette |
100% |
0% |
100% |
Yes |
150k |
|
| Machtay_20200911_Symmetric |
Longer symmetric run with fewer neutrinos. |
Symmetric |
10 |
35 |
100% Roulette |
100% |
0% |
100% |
Yes |
30k |
|
| Machtay_20200914_Asymmetric_50_Individuals |
Longer asymmetric run with fewer neutrinos. |
Asymmetric (all dimensions) |
50 |
26 |
100% Roulette |
100% |
0% |
100% |
Yes |
30k |
|
| Machtay_20201016_Symmetric_Improved_GA |
First run using improvements to GA based on Ryan's paperclip/fast loop analysis. |
Symmetric |
50 |
10 |
50/50 |
75% |
10% |
15% |
Yes |
30k |
|
| Machtay_20201023_300K_Nus_50_Individuals |
Started with all identical individuals to demonstrate evolution; replaced penalty with hard cutoff. Increased Nus for higher fitness score precision. |
Asymmetric (all dimensions |
50 |
25 |
50/50 |
75% |
10% |
15% |
No |
300k |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
123
|
Wed Dec 2 15:24:39 2020 |
Alex M | Guide for Loop Errors |
Attached is a .txt file you can find in the Evolutionary_Loop directory as Loop_Error_List.txt. It's a list of the current errors we sometimes experience in the loop, along with how to fix them if you encounter them while running. If people encounter errors that aren't in the list, let everyone know in the #genstudents chat on slack and update the file with the error message and when it was encountered (what state the loop was in) and the possible cause and solution if you know it. |
|
122
|
Mon Nov 30 17:00:31 2020 |
Ethan Fahimi | Monday Updates |
| Alex M |
Kicked the loop back up. Helped Ethan and Parker with their projects during the working meeting. |
| Ryan |
Changed the tournament/roulette ratio, reproduction_no, and crossover_no to be read in variables in the GA to increase the quality of life when running the algorithm and to prep the code for some testing. Format for how to call the code is written at the top of the cpp program file. |
| Ethan F |
Worked with Alex M on further fixing AREA. The first generation works now, we are making minor fixes to get subsequent generations up and running. |
| |
|
| |
|
| |
|
| |
|
|
|
Draft
|
Mon Nov 30 16:59:39 2020 |
Ethan Fahimi | Daily Update 10/30 |
| Name |
Progress |
Plans |
| Alex M |
|
|
| Alex P |
|
|
| Ryan |
Attempted to make a new mutation function for the algorithm to try and address the concerns about hitting local maximums from Wednesday. Unfortunately, the idea was unsuccessful when I put it through testing. I would like some input from some of the experts before trying something else. Otherwise, the version I had earlier this week has still been very consistent about optimizing the runs outside of sometimes hitting a local max at about 90/100.
|
|
| Ben |
|
|
| Ethan |
Moved AREA onto my own directory with Alex's help. Began fixing issues with it (small win, no more permissions issues!). |
Continue fixing issues with AraSim on my user. |
| Parker |
|
|
| Elliot |
|
|
| Leo |
|
|
| Evelyn |
|
|
|
|
120
|
Mon Nov 23 18:02:40 2020 |
Ryan Debolt | Monday Updates |
| Alex M |
Kept working with Amy, Alex P, Julie, and Ben on the AraSim fix. We fixed our issue from last week but have a new one in stage 2. It looks like the issue has to do with resetting the values for V_forfft right before stage 2 (around line 963). Check here for the current version of Report.cc: /users/PAS0654/pattonalexo/EFieldProject/11_23_20 |
| Ryan |
Fixed the issue with the segmentation faults in the GA (simple fix one line changed) and worked with Kai to start creating a spreadsheet of results. Results seem to suggest that 2 tournament to 8 roulette seems to be the ideal selection ratio and the initial test seem to suggest a small amount of reproduction is ideal but more testing is needed to confirm this. |
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
119
|
Fri Nov 20 17:50:05 2020 |
Alex M | Working Meeting 11/20/20 |
| Alex M |
We worked with Amy to track down the error we were getting with the AraSim fix. Alex P and I had gotten AraSim to compile, but running gave the error (at the bottom). We did a binary search for the source of the error and determined it comes from the if statement around line 640 in Report.cc:
if ( event->Nu_Interaction[0].LQ > 0 && (fabs(viewangle-signal->CHANGLE_ICE)<=settings1->OFFCONE_LIMIT*RADDEG) ) { |
| Ryan |
Kept testing different rations of tournament and roulette. A trend seems to appear that while full roulette was the worst run overall, it rises until a ratio of about 8R:2T with a max score of 99.22% match and then it slowly falls from that point. Need to do more testing to verify averages and to fix strange segmentation faults in crossover when running 6T and 8T ratio. |
| |
|
| |
|
| |
|
| |
|
| |
|
AraSim EField project Error:
*** Break *** segmentation violation
===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0 0x00002b845aeb445c in waitpid () from /lib64/libc.so.6
#1 0x00002b845ae31f52 in do_system () from /lib64/libc.so.6
#2 0x00002b84562bebf4 in TUnixSystem::StackTrace() () from /cvmfs/ara.opensciencegrid.org/trunk/centos7/root_build/lib/libCore.so
#3 0x00002b84562c13ea in TUnixSystem::DispatchSignals(ESignals) () from /cvmfs/ara.opensciencegrid.org/trunk/centos7/root_build/lib/libCore.so
#4 <signal handler called>
#5 0x000000000044fd70 in void std::vector<double, std::allocator<double> >::emplace_back<double>(double&&) ()
#6 0x00000000004c3c0e in Report::Connect_Interaction_Detector(Event*, Detector*, RaySolver*, Signal*, IceModel*, Settings*, Trigger*, int) ()
#7 0x0000000000436eb3 in main ()
===========================================================
The lines below might hint at the cause of the crash.
You may get help by asking at the ROOT forum http://root.cern.ch/forum
Only if you are really convinced it is a bug in ROOT then please submit a
report at http://root.cern.ch/bugs Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.
===========================================================
#5 0x000000000044fd70 in void std::vector<double, std::allocator<double> >::emplace_back<double>(double&&) ()
#6 0x00000000004c3c0e in Report::Connect_Interaction_Detector(Event*, Detector*, RaySolver*, Signal*, IceModel*, Settings*, Trigger*, int) ()
#7 0x0000000000436eb3 in main ()
===========================================================
|
|
118
|
Thu Nov 19 16:42:06 2020 |
Alex Patton | Daily Update 11/19/20 |
I hopped on with Alex M to catch him up with what has been done and changed within AraSim so far. I looked into using pointers to access arrays outside of their declared scope and it seemed reletively easy to set up. I set up a pointer corresponding to the arrays V_forfft, T_forfft, and vmmhz_filter and set them at the end of stage one in order to be used in stage two. Also made sure to delete the pointers at the end of stage 2 (Very Important). After this and finding the correct scope to put the deletes in, we complied and didn't get an error in Report.cc. Once it compiled I signed off to study for exam and Alex M will now take over and start to run tests to make sure that with the same seed this gives the same results as a base copy of AraSim. After this the next step would be to start implementing a way to save all the variables from stage one and reading them into stage 2. |
|
117
|
Fri Oct 30 17:30:16 2020 |
Ethan Fahimi | Daily Update 10/30 |
| Name |
Progress |
Plans |
| Alex M |
|
|
| Alex P |
|
|
| Ryan |
Attempted to make a new mutation function for the algorithm to try and address the concerns about hitting local maximums from Wednesday. Unfortunately, the idea was unsuccessful when I put it through testing. I would like some input from some of the experts before trying something else. Otherwise, the version I had earlier this week has still been very consistent about optimizing the runs outside of sometimes hitting a local max at about 90/100.
|
|
| Ben |
|
|
| Ethan |
Moved AREA onto my own directory with Alex's help. Began fixing issues with it (small win, no more permissions issues!). |
Continue fixing issues with AraSim on my user. |
| Parker |
|
|
| Elliot |
|
|
| Leo |
|
|
| Evelyn |
|
|
|
|
116
|
Mon Oct 26 17:59:10 2020 |
Ethan Fahimi | Daily Update 10/26 |
| Name |
Progress |
Plans |
| Alex M |
|
|
| Alex P |
|
|
| Ryan |
I have the testing loop finished with plotted results now. The program was able to reach optimal results very quickly. It used 100% tournament selection with a cutoff on the outer radius. The algorithm was using an asymmetric algorithm and the ideal bicone it was being compared to was an arbitrarily picked one from an actual symmetric run individual we knew to stay within the outer radius. All individuals for each generation are plotted on this graph. And the fact that these bicones started as asymmetric shows that we can very easily find symmetric answers if they are indeed ideal. |
|
| Ben |
|
|
| Ethan |
Tried to fix permission issues with AREA, as well as learned about running the loop and listening to Jorge's thoughts on our project. |
Possibly move the AREA project onto the project space as it may solve permissions issues. Alex is looking into it. |
| Parker |
|
|
| Elliot |
|
|
| Leo |
|
|
| Evelyn |
|
|
|
|
115
|
Mon Oct 19 17:02:12 2020 |
Ethan Fahimi | Daily Update 10/19 |
| Name |
Progress |
Plans |
| Alex M |
|
|
| Alex P |
|
|
| Ryan |
Alex P. and I put the outer radius constraint into the Asymmetric our version of the algorithm. I have also created the pseudo-fitness function to be able to do some optimization testing that bypasses the time-consuming parts of the run. All I need to do to finish the pseudo tests is to create a loop to run through the generations and plotting procedures. |
|
| Ben |
|
|
| Ethan |
Tried to fix permission issues, as well as work on running the loop (invalid id) |
Continue fixing AREA permission issues with Ben's help. |
| Parker |
|
|
| Elliot |
|
|
| Leo |
|
|
| Evelyn |
|
|
|
|
Draft
|
Fri Oct 16 17:32:49 2020 |
Alex Patton | Daily Update 10/16/20 |
| |
Update |
Plans for Monday |
| Alex M |
|
|
| Alex P and Ryan |
Made new version of our modified GA that is asymetric. We didn't include the options to start with symetetry but just wanted to get it to a compilable state so that we can test how it would run in the loop to make sure it functions properly there. We also have a real run going with our previous symetrical GA edit. |
Watch this run over the weekend and keep it going and then eventually test how the asymetric version works |
| Eliot |
|
|
| Ben |
|
|
| Leo |
|
|
| Evelyn |
|
|
| Ethan |
Worked with Ben and Alex M on getting the AREA project working on slurm. It works now, but there are some permissions issues that we still need to fix. Simply put, Ben can run it perfectly right now. |
Find and address permissions issues so anyone can run a job. |
|
|
113
|
Mon Oct 12 17:34:29 2020 |
Alex Patton | Daily Update 10/12/20 |
| Name |
Update |
Plans for Week |
| Alex M |
|
|
| Alex P, Ryan, and Ben |
Finished up writing the updated GA and got it compilable and then got some run time segmentation faults but managed to get all of those fixed. But once we got it running we encountered an error where a lot of the generationDNA ended up being 0,0,0. We looked through our functions and confirmed this was only happening with indiviudals developed through crossover and not mutation or reproduction |
Get this problem fixed in crossover and continue to test and make sure this works as intended but so far it is able to generate genDNA files and just has that one bug. The bug is also every other individual so we think we might have messed up how crossover generates two individuals from parents so it should hopefully be an easy fix. |
| Eliot |
|
|
| Leo |
|
|
| Evelyn |
|
|
| Ethan |
. |
|
|
|
112
|
Fri Oct 9 17:37:57 2020 |
Alex Patton | Daily Update 10/9/20 |
| Name |
Update |
Plans for Monday |
| Alex M |
|
|
| Alex P, Ryan, and Ben |
Got all functions finished and worked on adding them to main. We set up their calls and commented out the unfunctionalized code with a comment explaining what it was and what date it was commented out. Had to define new variables for limits on our mutation function now that our mutation function is uniformly distributed within a range rather than using standard deviations. Also created some more global variables for maximum outer radius and minimum length in order to have them more accessible. |
Finish up implementing and defining variables so that it can run the functions properly. Hoping to have it ready to test on monday. |
| Eliot |
|
|
| Leo |
|
|
| Evelyn |
|
|
| Ethan |
. |
|
|