-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation or tutorials? #40
Comments
Thanks hgandhi2411. Yes, I also feel it is increasingly necessary to create a user's guide. Will do it this year. |
In the mean time, can you please help me understand what's wrong with this input script? I get a segmentation fault. I'm attaching SISSO.in and train.dat. I have also tried with Error: >>> mpirun -n 1 SISSO > log
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
SISSO 000000000049002A Unknown Unknown Unknown
libpthread-2.17.s 00007F50C8C8C630 Unknown Unknown Unknown
SISSO 000000000047DA08 Unknown Unknown Unknown
SISSO 0000000000404EE2 Unknown Unknown Unknown
libc-2.17.so 00007F50C85CF555 __libc_start_main Unknown Unknown
SISSO 0000000000404DE9 Unknown Unknown Unknown |
Could you please remove in the SISSO.in the two operators (sinh)(tanh) which are currently not implemented in the code and try it again? |
I tried removing (sinh)(tanh) as you suggested and still get a seg fault as above. It happens almost instantly. |
OK, let me give a try. Could you post your input as text, instead of images, so that I can copy your data? |
Here is the text version of my files: !_________________________________________________________________
! keywords for the target properties
!_________________________________________________________________
ptype=1
ntask=1
nsample=25 ! number of samples for each task
task_weighting=1
desc_dim=4 ! dimension of the descriptor
restart=.false. ! set .true. to continue a job that was stopped but not yet finished
!_________________________________________________________________
!keywords for feature construction and sure independence screening
!_________________________________________________________________
nsf=3 ! number of scalar features (one feature is one number for each material)
rung=2 ! rung (<=3) of the feature space to be constructed (times of applying the opset recursively)
opset='(+)(-)(*)(/)(exp)(^-1)(sin)(cos)' ! (sinh)(tanh)'
maxcomplexity=10 ! max feature complexity (number of operators in a feature)
dimclass=(1:1)(2:2)(3:3) ! group features according to their dimension/unit; those not in any () are dimensionless
maxfval_lb=1e-3 ! features having the max. abs. data value < maxfval_lb will not be selected
maxfval_ub=1e5 ! features having the max. abs. data value > maxfval_ub will not be selected
subs_sis=100 ! size of the SIS-selected (single) subspace for each descriptor dimension
!_________________________________________________________________
!keywords for descriptor identification via a sparsifying operator
!_________________________________________________________________
method='L0' ! sparsification operator: 'L1L0' or 'L0'; L0 is recommended!
fit_intercept=.false. ! fit to a nonzero intercept (.true.) or force the intercept to zero (.false.)
metric='RMSE' ! for regression only, the metric for model selection: RMSE,MaxAE
nm_output=50 ! number of the best models to output train.dat
|
I see the problem. In the file train.dat, you have many Tab symbols which can not be identified in the SISSO code. It works when I replace all the Tab with space symbols. |
That worked! Thank you, Dr. Ouyang.
|
That seems a code bug. Are you using an early version of the code? If I am using the version 3.0.2, then I got normal results: |
I am also using Version SISSO 3.0.2, June 2020. I found out, there was more than one space between my columns (I replaced all tabs with spaces but had more than spaces to format the file to look good) and I guess the program doesn't like that. After I removed all extra spaces, I get the same equation as you! Thank you so much for being patient with my questions!! |
The number of spaces between columns does not matter, so it may be due to other reasons. |
Dr. Ouyang,
Is it possible to create documentation or maybe a tutorial explaining different parameters that can be used to run this SISSO code for different tasks? I'm a new FORTRAN user and have been trying to reproduce your regression example. I was finally able to make it work with difficulty. It might be nice to have an end-to-end tutorial for new users like me and will encourage a larger community to use this excellent code.
The text was updated successfully, but these errors were encountered: